diff options
Diffstat (limited to 'tests/ci/prepare_env.sh')
-rwxr-xr-x | tests/ci/prepare_env.sh | 4 |
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}" |