From: meimei Date: Wed, 8 Feb 2017 09:31:47 +0000 (+0800) Subject: [bugfix] wrong regular expression to fetch controller ip by hostname X-Git-Tag: danube.1.0~326^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=01fe2364f175bc0904003e281df66cdaaedea869;p=releng.git [bugfix] wrong regular expression to fetch controller ip by hostname Change-Id: Idcf6739498837e828dd65897f599dada720fb48e Signed-off-by: meimei --- diff --git a/utils/fetch_os_creds.sh b/utils/fetch_os_creds.sh index c1e21f316..f00e022f9 100755 --- a/utils/fetch_os_creds.sh +++ b/utils/fetch_os_creds.sh @@ -144,7 +144,7 @@ elif [ "$installer_type" == "compass" ]; then verify_connectivity $installer_ip controller_ip=$(sshpass -p'root' ssh 2>/dev/null $ssh_options root@${installer_ip} \ 'mysql -ucompass -pcompass -Dcompass -e"select * from cluster;"' \ - | awk -F"," '{for(i=1;i