fix the ip address that's stored in the config file

This commit is contained in:
Pankaj Garg 2019-03-27 23:16:30 +00:00 committed by Grimes
parent ed48c495a3
commit a14c202d60
1 changed files with 1 additions and 1 deletions

View File

@ -209,7 +209,7 @@ cloud_ForEachInstance() {
declare count=1
for info in "${instances[@]}"; do
declare name publicIp privateIp
IFS=: read -r name publicIp privateIp < <(echo "$info")
IFS=: read -r name publicIp privateIp zone < <(echo "$info")
eval "$cmd" "$name" "$publicIp" "$privateIp" "$count" "$@"
count=$((count + 1))