Skip to content

Commit

Permalink
fix cloudinit
Browse files Browse the repository at this point in the history
  • Loading branch information
elasticroentgen committed Apr 15, 2024
1 parent c94b94e commit f246d87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CloudController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public async Task<string> CreateNewRunner(string arch, string size, string runne
.AppendLine(" - [ sh, -xc, 'curl -fsSL https://get.docker.com -o /opt/install-docker.sh']")
.AppendLine(" - [ sh, -xc, 'sh /opt/install-docker.sh']")
.AppendLine(" - [ sh, -xc, 'mkdir -p /opt/actions-runner']")
.AppendLine($" - [ sh, -xc, 'cd /opt/actions-runner && curl -o actions-runner-linux.tar.gz -L https://github.com/actions/runner/releases/download/v{runnerVersion}/actions-runner-linux-x64-{runnerVersion}.tar.gz && tar xzf ./actions-runner-linux.tar.gz']")
.AppendLine($" - [ sh, -xc, 'cd /opt/actions-runner && curl -o actions-runner-linux.tar.gz -L https://github.com/actions/runner/releases/download/v{runnerVersion}/actions-runner-linux-{arch}-{runnerVersion}.tar.gz && tar xzf ./actions-runner-linux.tar.gz']")
.AppendLine($" - [ sh, -xc, 'cd /opt/actions-runner && RUNNER_ALLOW_RUNASROOT=true ./config.sh --url https://github.com/{orgName} --token {runnerToken} --ephemeral --disableupdate --labels {size} && RUNNER_ALLOW_RUNASROOT=true ./run.sh ']")
.ToString();
_logger.LogInformation($"Launching VM {name}");
Expand Down

0 comments on commit f246d87

Please sign in to comment.