From 0c455af95a0f2258401b54cbca0d84732433fb24 Mon Sep 17 00:00:00 2001 From: Ross Brattain Date: Wed, 7 Mar 2018 08:09:03 -0800 Subject: bugfix: fix prepare_env.sh shell quote JIRA: YARDSTICK-1051 Change-Id: If28bc0f2fe2e3cdec95882bb2abedf839e6ac2e0 Signed-off-by: Ross Brattain --- tests/ci/prepare_env.sh | 4 ++-- 1 file 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}" -- cgit 1.2.3-korg