2011-11-08 23:25:12 +00:00
|
|
|
#!/bin/bash
|
2011-11-10 22:06:13 +00:00
|
|
|
# Echo commands, exit on error
|
|
|
|
set -o xtrace
|
|
|
|
set -o errexit
|
2011-11-08 23:25:12 +00:00
|
|
|
|
2011-11-10 22:06:13 +00:00
|
|
|
TOP_DIR=$(cd ../../.. && pwd)
|
|
|
|
HEAD_IP=`cat $TOP_DIR/addresses | grep HEAD | cut -d "=" -f2`
|
|
|
|
ssh stack@$HEAD_IP 'cd devstack && source openrc && cd exercises && ./floating_ips.sh'
|