From 9cbf88b37cd34bb49f267f615f91c552141b3063 Mon Sep 17 00:00:00 2001 From: Ben Nemec Date: Tue, 16 Jun 2015 16:50:19 +0000 Subject: [PATCH] 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 --- scripts/instack-virt-setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/instack-virt-setup b/scripts/instack-virt-setup index 354acde4d..6dda0f121 100755 --- a/scripts/instack-virt-setup +++ b/scripts/instack-virt-setup @@ -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