summaryrefslogtreecommitdiffstats
path: root/tests/ci
diff options
context:
space:
mode:
authorRoss Brattain <ross.b.brattain@intel.com>2018-03-07 08:09:03 -0800
committerRoss Brattain <ross.b.brattain@intel.com>2018-03-07 08:11:13 -0800
commit0c455af95a0f2258401b54cbca0d84732433fb24 (patch)
tree82627c877db24c4ee1a4ccfec790ea7d7bb0e771 /tests/ci
parent9c3db265f442b7db607cb929adf6c89c952add97 (diff)
bugfix: fix prepare_env.sh shell quote
JIRA: YARDSTICK-1051 Change-Id: If28bc0f2fe2e3cdec95882bb2abedf839e6ac2e0 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
Diffstat (limited to 'tests/ci')
-rwxr-xr-xtests/ci/prepare_env.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ci/prepare_env.sh b/tests/ci/prepare_env.sh
index 886e50e21..a097cec69 100755
--- a/tests/ci/prepare_env.sh
+++ b/tests/ci/prepare_env.sh
@@ -74,8 +74,8 @@ if [ "$INSTALLER_TYPE" == "fuel" ]; then
ssh -l ubuntu "${INSTALLER_IP}" -i ${SSH_KEY} ${ssh_options} \
"sudo salt -C 'ctl* or cmp*' grains.get fqdn_ip4 --out yaml">node_info
- controller_ips=($(awk '/ctl/{getline; print $2} < node_info'))
- compute_ips=($(awk '/cmp/{getline; print $2} < node_info'))
+ controller_ips=($(awk '/ctl/{getline; print $2}' < node_info))
+ compute_ips=($(awk '/cmp/{getline; print $2}' < node_info))
if [[ ${controller_ips[0]} ]]; then
sed -i "s|ip1|${controller_ips[0]}|" "${pod_yaml}"