Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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.
  • Loading branch information...
commit 34e7f6ad6555b20dc2b3154c17b460b84d91f61e 1 parent 664b799
@bodepd authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  templates/test_nova.sh.erb
View
3  templates/test_nova.sh.erb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.