From 5af2055c82ed3961e1dba3ce006f04f512a7a27e Mon Sep 17 00:00:00 2001 From: Jeff Lindsay Date: Sun, 23 Jun 2013 16:39:00 -0700 Subject: [PATCH] moving around set -e to see if that changes anything --- tests/run_ec2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/run_ec2 b/tests/run_ec2 index 601f10f90..034383bb0 100755 --- a/tests/run_ec2 +++ b/tests/run_ec2 @@ -1,5 +1,4 @@ #!/bin/bash -set -e KEYNAME="$1" indent() { sed "s/^/ /"; } echo "-----> Booting EC2 instance..." @@ -32,6 +31,7 @@ while [[ ! $(echo | nc $PUBLIC_IP 22) ]]; do sleep 5 echo " Waiting..." done +set -e echo "-----> Connecting and running boostrap script..." cat ../bootstrap.sh | ssh -o "StrictHostKeyChecking=no" ubuntu@$PUBLIC_IP "HOSTNAME=$PUBLIC_IP sudo bash" 2>&1 | indent echo "-----> Installing SSH public keys..."