X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=deploy%2Fmetal3-vm%2F03_launch_mgmt_cluster.sh;h=93789e1229e10e31374af889c9a2e3d477abba3b;hb=refs%2Fchanges%2F73%2F3873%2F2;hp=0c3e707f22128571f1f70d3f0a3464ab7152482a;hpb=7115d7b66c30a26a65f0db4b78a8f0f6e8dc4207;p=icn.git diff --git a/deploy/metal3-vm/03_launch_mgmt_cluster.sh b/deploy/metal3-vm/03_launch_mgmt_cluster.sh index 0c3e707..93789e1 100755 --- a/deploy/metal3-vm/03_launch_mgmt_cluster.sh +++ b/deploy/metal3-vm/03_launch_mgmt_cluster.sh @@ -78,6 +78,8 @@ runcmd: EOF } +# documentation for the values below may be found at +# https://cloudinit.readthedocs.io/en/latest/topics/modules.html create_userdata() { name="$1" COMPUTE_NODE_FQDN="$name.akraino.icn.org" @@ -120,7 +122,7 @@ EOF } function make_bm_hosts { - while read -r name address user password mac; do + while IFS=',' read -r name address user password mac; do create_userdata $name apply_userdata_credential $name go run "${BMOPATH}"/cmd/make-bm-worker/main.go \