Skip to content

Commit 6fc6d6a

Browse files
committed
move stuff installed in skel into home where it belongs
Signed-off-by: Jeffrey Sica <me@jeefy.dev>
1 parent 6991c04 commit 6fc6d6a

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

ci/cloudrunners/oci/main.go

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -141,11 +141,8 @@ func run(cmd *cobra.Command, argv []string) error {
141141

142142
commands := []string{
143143
"tar -zxf /opt/runner-cache/actions-runner-linux-*.tar.gz",
144-
"mkdir -p $HOME/.nvm",
145-
"mkdir -p \\$HOME/.nvm",
146-
"wget -O nvm-install.sh https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh",
147-
"bash nvm-install.sh",
148-
"export NVM_DIR=/home/ubuntu/\\$HOME/.nvm",
144+
"sudo chown 1000:1000 -R /etc/skel/*",
145+
"mv /etc/skel/* /home/ubuntu/",
149146
`sudo usermod -aG docker ubuntu && newgrp docker <<EOF
150147
export PATH=$PATH:/home/ubuntu/.local/bin && export HOME=/home/ubuntu && bash -x /home/ubuntu/run.sh --jitconfig "${ACTIONS_RUNNER_INPUT_JITCONFIG}"
151148
EOF`,

0 commit comments

Comments
 (0)