devstack/tools/jenkins/adapters/floating_ips.sh
2011-11-10 14:06:13 -08:00

9 lines
253 B
Bash
Executable File

#!/bin/bash
# Echo commands, exit on error
set -o xtrace
set -o errexit
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'