Increase ssh wait timeout and disable password auth so we don't accidnetally hit it before cloud-init has configured the ssh key

This commit is contained in:
James Slagle 2015-01-23 07:27:35 -05:00
parent 6c27e79f43
commit 2c16cd5a8c

View File

@ -127,7 +127,7 @@ function wait_for_ssh {
ips=$(nova list | tail -n +4 | head -n -1 | awk '{print $12}' | cut -d= -f2)
for ip in $ips; do
echo -n " checking $ip ... "
tripleo wait_for 180 1 ssh -o "StrictHostKeyChecking=no" root@$ip ls
tripleo wait_for 300 1 ssh -o "PasswordAuthentication=no" -o "StrictHostKeyChecking=no" root@$ip ls
echo "DONE."
done
echo