Code Review
/
icn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Add explicit network configuration to nodes.json
[icn.git]
/
deploy
/
metal3-vm
/
lib
/
common.sh
diff --git
a/deploy/metal3-vm/lib/common.sh
b/deploy/metal3-vm/lib/common.sh
index
4d1a699
..
a767358
100644
(file)
--- a/
deploy/metal3-vm/lib/common.sh
+++ b/
deploy/metal3-vm/lib/common.sh
@@
-122,3
+122,8
@@
function list_nodes {
] | @csv' | \
sed 's/"//g'
}
+
+function node_networkdata {
+ name=$1
+ cat $NODES_FILE | jq -r --arg name "$name" '.nodes[] | select(.name==$name) | .net'
+}