From 34e7f6ad6555b20dc2b3154c17b460b84d91f61e Mon Sep 17 00:00:00 2001 From: Dan Bode Date: Sun, 25 Nov 2012 20:03:54 -0800 Subject: [PATCH] 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. --- templates/test_nova.sh.erb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/test_nova.sh.erb b/templates/test_nova.sh.erb index a42d1c2..d6eaadf 100644 --- a/templates/test_nova.sh.erb +++ b/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