blob: a97f93578a73b9c7a8e39a88368629cb0a1109f1 [file] [log] [blame]
Anthony Youngccd4ea32011-11-08 17:25:12 -06001#!/bin/bash
Anthony Young1277eab2011-11-10 14:06:13 -08002# Echo commands, exit on error
3set -o xtrace
4set -o errexit
Anthony Youngccd4ea32011-11-08 17:25:12 -06005
Anthony Young1277eab2011-11-10 14:06:13 -08006TOP_DIR=$(cd ../../.. && pwd)
7HEAD_IP=`cat $TOP_DIR/addresses | grep HEAD | cut -d "=" -f2`
8ssh stack@$HEAD_IP 'cd devstack && source openrc && cd exercises && ./floating_ips.sh'