Edit test script template

edit a script so that a zero return code indicates
a successfully deployed openstack environment.

previously, it blocked waiting for user input for the
connection.

these changes are getting this script ready to run CI.
This commit is contained in:
Dan Bode
2012-11-25 20:03:54 -08:00
parent 664b799037
commit 34e7f6ad65

View File

@@ -72,5 +72,6 @@ nova --no-cache add-floating-ip $instance_name $floating_ip
# Wait and then try to SSH to the node, leveraging the private key # Wait and then try to SSH to the node, leveraging the private key
# we generated earlier. # we generated earlier.
sleep <%= sleep_time %> sleep <%= sleep_time %>
ssh $login_user@$floating_ip -i /tmp/id_rsa ssh $login_user@$floating_ip -i /tmp/id_rsa -o StrictHostKeyChecking=no hostname
<% end -%> <% end -%>
exit 0