summaryrefslogtreecommitdiffstats
path: root/mcp/scripts/lib.sh
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-08-08 11:03:17 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-08-08 11:03:17 +0000
commit6a3bbf95c70207a146c5b2c82d8518cf02e5c269 (patch)
tree46bff9b92df4a20aae1e2d38b2e6d8defae9e9cb /mcp/scripts/lib.sh
parent143bf770cf104daaf8d457a3de294d6acb33f9cf (diff)
parenta5c7084e2c7711ebfafec56a39afab91d236585f (diff)
Merge changes from topic 'baremetal-noha'
* changes: [states] baremetal_init: Parameterize kvm hosts [scenarios] Differentiate virtual node roles
Diffstat (limited to 'mcp/scripts/lib.sh')
-rw-r--r--mcp/scripts/lib.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/mcp/scripts/lib.sh b/mcp/scripts/lib.sh
index 9c12bff64..4e4f36908 100644
--- a/mcp/scripts/lib.sh
+++ b/mcp/scripts/lib.sh
@@ -407,6 +407,7 @@ function create_vms {
# create vms with specified options
for serialized_vnode_data in "${vnodes[@]}"; do
+ if [ -z "${serialized_vnode_data}" ]; then continue; fi
IFS=',' read -r -a vnode_data <<< "${serialized_vnode_data}"
# prepare network args