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:
@@ -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
|
||||
# we generated earlier.
|
||||
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 -%>
|
||||
exit 0
|
||||
|
Reference in New Issue
Block a user