Code Review
/
icn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Use username and password from "os" in nodes.json
[icn.git]
/
deploy
/
metal3-vm
/
03_launch_mgmt_cluster.sh
diff --git
a/deploy/metal3-vm/03_launch_mgmt_cluster.sh
b/deploy/metal3-vm/03_launch_mgmt_cluster.sh
index
0c3e707
..
93789e1
100755
(executable)
--- a/
deploy/metal3-vm/03_launch_mgmt_cluster.sh
+++ b/
deploy/metal3-vm/03_launch_mgmt_cluster.sh
@@
-78,6
+78,8
@@
runcmd:
EOF
}
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"
create_userdata() {
name="$1"
COMPUTE_NODE_FQDN="$name.akraino.icn.org"
@@
-120,7
+122,7
@@
EOF
}
function make_bm_hosts {
}
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 \
create_userdata $name
apply_userdata_credential $name
go run "${BMOPATH}"/cmd/make-bm-worker/main.go \