summaryrefslogtreecommitdiffstats
path: root/jjb/functest/set-functest-env.sh
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2016-06-21 13:11:13 +0200
committerjose.lausuch <jose.lausuch@ericsson.com>2016-06-21 13:11:43 +0200
commit064237ac02f1718903beeeacda42f735093c9177 (patch)
treee652a41352b134568183910c6b741cb6e26bba77 /jjb/functest/set-functest-env.sh
parent749e766c90a77e6e84ef216385fe5acd6daf24d8 (diff)
Functest, fix stackrc docker volume for Apex deployments
Change-Id: Iea61baaca6f52fc794011aba40195c76c6da6b68 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'jjb/functest/set-functest-env.sh')
-rwxr-xr-xjjb/functest/set-functest-env.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/jjb/functest/set-functest-env.sh b/jjb/functest/set-functest-env.sh
index 7e500ed02..0b8747a6f 100755
--- a/jjb/functest/set-functest-env.sh
+++ b/jjb/functest/set-functest-env.sh
@@ -18,8 +18,8 @@ if [[ ${INSTALLER_TYPE} == 'apex' ]]; then
fi
INSTALLER_IP=$(/usr/sbin/arp -e | grep ${instack_mac} | awk {'print $1'})
sshkey="-v /root/.ssh/id_rsa:/root/.ssh/id_rsa"
- sudo scp $ssh_options root@${INSTALLER_IP}:/home/stack/stackrc .
- stackrc="-v ./stackrc:/home/opnfv/functest/conf/stackrc"
+ sudo scp $ssh_options root@${INSTALLER_IP}:/home/stack/stackrc ${HOME}/stackrc
+ stackrc="-v ${HOME}/stackrc:/home/opnfv/functest/conf/stackrc"
if sudo iptables -C FORWARD -o virbr0 -j REJECT --reject-with icmp-port-unreachable 2> ${redirect}; then
sudo iptables -D FORWARD -o virbr0 -j REJECT --reject-with icmp-port-unreachable