Skip to content

Commit cb94b1d

Browse files
committed
spooky scary etc/skel moving
Signed-off-by: Jeffrey Sica <me@jeefy.dev>
1 parent 2666632 commit cb94b1d

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

ci/cloudrunners/oci/main.go

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

142142
commands := []string{
143143
"tar -zxf /opt/runner-cache/actions-runner-linux-*.tar.gz",
144-
"sudo chown 1000:1000 -R /etc/skel/*",
145-
"mv /etc/skel/* /home/ubuntu/",
144+
"rm -rf \\$HOME",
145+
"sudo chown -R 1000:1000 /etc/skel/",
146+
"mv /etc/skel/.cargo /home/ubuntu/",
147+
"mv /etc/skel/.nvm /home/ubuntu/",
148+
"mv /etc/skel/.rustup /home/ubuntu/",
149+
"mv /etc/skel/.dotnet /home/ubuntu/",
150+
"mv /etc/skel/.composer /home/ubuntu/",
146151
`sudo usermod -aG docker ubuntu && newgrp docker <<EOF
147152
export PATH=$PATH:/home/ubuntu/.local/bin && export HOME=/home/ubuntu && bash -x /home/ubuntu/run.sh --jitconfig "${ACTIONS_RUNNER_INPUT_JITCONFIG}"
148153
EOF`,

0 commit comments

Comments
 (0)