Gary Wu | 73202cf | 2017-10-23 15:15:52 -0700 | [diff] [blame^] | 1 | #!/bin/bash |
2 | |||||
3 | if [ -z "$WORKSPACE" ]; then | ||||
4 | export WORKSPACE=`git rev-parse --show-toplevel` | ||||
5 | fi | ||||
6 | |||||
7 | cd $WORKSPACE/test/ete/scripts | ||||
8 | |||||
9 | ROBOT_IP=$(./get-floating-ip.sh onap-robot) | ||||
10 | echo "ROBOT_IP=${ROBOT_IP}" | ||||
11 | |||||
12 | ssh -o StrictHostKeychecking=no -i ~/.ssh/onap_key root@${ROBOT_IP} "OS_PASSWORD_INPUT=$OS_PASSWORD_INPUT bash -s" < ./remote/run-robot.sh |