Skip to content

Commit

Permalink
[ci] automatically accept host key when testing
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisjbell committed Mar 20, 2023
1 parent b987fdd commit 33894f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/scripts/test-deployment
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ if [[ "$SKIP_SMOKE_TESTS" == "false" ]]; then
chmod 600 ~/.ssh/id_test_user

ip="$(genesis ci-vsphere-baseline.yml bosh vms --json | jq -r '.Tables[0].Rows[0].ips')"
echo "uname -a; echo -n 'User: '; whoami; uptime" | ssh -i ~/.ssh.id_test_user test-user@$ip
echo "uname -a; echo -n 'User: '; whoami; uptime" | ssh -i ~/.ssh.id_test_user -o StrictHostKeyChecking=accept-new -l test-user $ip

genesis "do" "${DEPLOY_ENV}" -- inventory

Expand Down

0 comments on commit 33894f6

Please sign in to comment.