Skip to content

Commit

Permalink
Disable strict host key checking
Browse files Browse the repository at this point in the history
  • Loading branch information
randy-sab-roy committed Feb 14, 2024
1 parent 2d3b77b commit 5117188
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions host/launch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ function run_loop {
done

log_output "[HOST] πŸ”¨ Configuring runner on VM"
ssh -q "$VM_USERNAME@$IP_ADDRESS" "./actions-runner/config.sh --url $RUNNER_URL --token $REGISTRATION_TOKEN --ephemeral --name $RUNNER_NAME --labels $RUNNER_LABELS --unattended --replace" >/dev/null
ssh -q -o StrictHostKeyChecking=no "$VM_USERNAME@$IP_ADDRESS" "./actions-runner/config.sh --url $RUNNER_URL --token $REGISTRATION_TOKEN --ephemeral --name $RUNNER_NAME --labels $RUNNER_LABELS --unattended --replace" >/dev/null

log_output "[HOST] πŸƒ Starting runner on VM"
ssh -q "$VM_USERNAME@$IP_ADDRESS" "source ~/.zprofile && ./actions-runner/run.sh" 2>&1 | sed -nru 's/^(.+)$/[GUEST] πŸ“€ \1/p' | stream_output
ssh -q -o StrictHostKeyChecking=no "$VM_USERNAME@$IP_ADDRESS" "source ~/.zprofile && ./actions-runner/run.sh" 2>&1 | sed -nru 's/^(.+)$/[GUEST] πŸ“€ \1/p' | stream_output

log_output "[HOST] βœ‹ Stop the VM"
tart stop "$INSTANCE_NAME"
Expand Down

0 comments on commit 5117188

Please sign in to comment.