File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ Vagrant.configure("2") do |config|
3434 Set-Location actions-runner
3535 Invoke-WebRequest -Uri $GITHUB_RUNNER_URL -OutFile $GITHUB_RUNNER_FILE
3636 Expand-Archive $GITHUB_RUNNER_FILE -DestinationPath .
37- ./config.cmd --name ${GITHUB_RUNNER_NAME}_${RANDOM } --replace --unattended --url $ORGANIZATION_URL --labels $GITHUB_RUNNER_LABELS --pat $PAT
37+ ./config.cmd --name ${GITHUB_RUNNER_NAME}_${RANDOM_STR } --replace --unattended --url $ORGANIZATION_URL --labels $GITHUB_RUNNER_LABELS --pat $PAT
3838 ./run.cmd
3939 SHELL
4040end
Original file line number Diff line number Diff line change 33# Password: vagrant
44set -eou pipefail
55# Replace environmental variable to Vagrandfile
6+ export RANDOM_STR=$$
67envsubst < Vagrantfile > exported.txt && mv exported.txt Vagrantfile
78
89chown root:kvm /dev/kvm
You can’t perform that action at this time.
0 commit comments