X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=deploy%2Fmetal3%2Fscripts%2F02_verify.sh;h=09030c1917a53052b8d205a8e547950b122e4373;hb=refs%2Fchanges%2F73%2F3873%2F2;hp=85a2a29bf032eb1675968431d2ca2c264d3c2f57;hpb=7115d7b66c30a26a65f0db4b78a8f0f6e8dc4207;p=icn.git diff --git a/deploy/metal3/scripts/02_verify.sh b/deploy/metal3/scripts/02_verify.sh index 85a2a29..09030c1 100755 --- a/deploy/metal3/scripts/02_verify.sh +++ b/deploy/metal3/scripts/02_verify.sh @@ -14,7 +14,7 @@ function check_provisioned { declare -i prev_host_state=0 declare -i j=0 echo "Baremetal state: 1 means provisioned & 0 means not yet provisioned" - while read -r name username password address; do + while IFS=',' read -r name ipmi_username ipmi_password ipmi_address os_username os_password os_image_name; do declare -i current_host_state=0 state=$(kubectl get baremetalhosts $name -n metal3 -o json | jq -r '.status.provisioning.state') echo "Baremetal host metal3 state - "$name" : "$state