diff options
author | Jose Lausuch <jose.lausuch@ericsson.com> | 2016-07-28 15:49:27 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-07-28 15:49:27 +0000 |
commit | 37f3f67687ad8c71a90328d1b9c2c011f0843a59 (patch) | |
tree | bb4f332fbb41b440192d593064af87447b4d7aa4 /testcases/features/sfc/server_presetup_CI.bash | |
parent | d4be5c92583fcc7655fc2897db8ecb16a371582f (diff) | |
parent | 479ce09a9bd5649435dad5caeb0d7e338bb3affb (diff) |
Merge "Bug fix of the CI script in the ODL-SFC test case"
Diffstat (limited to 'testcases/features/sfc/server_presetup_CI.bash')
-rwxr-xr-x | testcases/features/sfc/server_presetup_CI.bash | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testcases/features/sfc/server_presetup_CI.bash b/testcases/features/sfc/server_presetup_CI.bash index bc4f3be9c..785e7a7fc 100755 --- a/testcases/features/sfc/server_presetup_CI.bash +++ b/testcases/features/sfc/server_presetup_CI.bash @@ -4,10 +4,10 @@ ssh_options='-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' BASEDIR=`dirname $0` INSTALLER_IP=${INSTALLER_IP:-10.20.0.2} -ip=`sshpass -p r00tme ssh $ssh_options root@10.20.0.2 'fuel node'|grep controller|awk '{print $10}' | head -1` +ip=`sshpass -p r00tme ssh $ssh_options root@${INSTALLER_IP} 'fuel node'|grep controller|awk '{print $10}' | head -1` echo $ip -sshpass -p r00tme scp set-up-tacker.sh ${INSTALLER_IP}:/root +sshpass -p r00tme scp $ssh_options set-up-tacker.sh ${INSTALLER_IP}:/root sshpass -p r00tme ssh $ssh_options root@${INSTALLER_IP} 'scp set-up-tacker.sh '"$ip"':/root' sshpass -p r00tme ssh $ssh_options root@${INSTALLER_IP} 'ssh root@'"$ip"' bash set-up-tacker.sh' sshpass -p r00tme ssh $ssh_options root@${INSTALLER_IP} 'scp '"$ip"':/root/tackerc .' -sshpass -p r00tme scp ${INSTALLER_IP}:/root/tackerc $BASEDIR +sshpass -p r00tme scp $ssh_options ${INSTALLER_IP}:/root/tackerc $BASEDIR |