We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0124cf commit b437a04Copy full SHA for b437a04
1 file changed
RStudio/machine-images/config/infra/files/rstudio/set-password
@@ -9,6 +9,7 @@ password=$(echo -n "${instance_id}${secret}" | sha256sum | awk '{print $1}')
9
echo "rstudio-user:$password" | /usr/sbin/chpasswd
10
echo "Set rstudio-user password"
11
12
+sleep 10
13
public_key=$(curl http://localhost:8787/auth-public-key)
14
instance_region=$(curl -s "http://169.254.169.254/latest/meta-data/placement/region")
15
aws ssm put-parameter --name "/rstudio/publickey/sc-environments/ec2-instance/${instance_id}" --value $public_key --region $instance_region --type SecureString --overwrite
0 commit comments