Fix passing of TESTENV_ARGS

Bash was doing some weird things with the quoting of this variable,
so we need to wrap the whole call in an eval.

Change-Id: I596f1762e0f4685458933efdbc4d3ea26981fdd4
bz: https://bugzilla.redhat.com/show_bug.cgi?id=1228419
This commit is contained in:
Ben Nemec 2015-06-16 16:50:19 +00:00
parent 970ecb36ec
commit 9cbf88b37c

View File

@ -108,7 +108,7 @@ if ip link show | grep ' virbr0:'; then
fi
export TE_DATAFILE=instackenv.json
sudo -H -E tripleo devtest_testenv.sh ${TESTENV_ARGS} $TE_DATAFILE
eval "sudo -H -E tripleo devtest_testenv.sh ${TESTENV_ARGS} $TE_DATAFILE"
sudo mv /root/.ssh/id_rsa_virt_power $HOME/.ssh/
sudo mv /root/.ssh/id_rsa_virt_power.pub $HOME/.ssh/
sudo chown -R $USER: ~/.ssh