Browse code

run tests for floaitng ips

Anthony Young authored on 2011/11/11 07:06:13
Showing 1 changed files
... ...
@@ -1,3 +1,8 @@
1 1
 #!/bin/bash
2
+# Echo commands, exit on error
3
+set -o xtrace
4
+set -o errexit
2 5
 
3
-echo "$0 SUCCESS!"
6
+TOP_DIR=$(cd ../../.. && pwd)
7
+HEAD_IP=`cat $TOP_DIR/addresses | grep HEAD | cut -d "=" -f2`
8
+ssh stack@$HEAD_IP 'cd devstack && source openrc && cd exercises &&  ./floating_ips.sh'