fix array assignment

This commit is contained in:
Arif Ali 2020-12-23 16:59:40 +00:00
parent 67c77ca8ab
commit 35176c00af
Signed by: arif
GPG Key ID: 369608FBA1353A70

View File

@ -206,10 +206,10 @@ build_vms() {
# such that this can be either bridge or network type
if [[ $network_type == "bridge" ]] ; then
net_prefix="bridge"
net_type=bridges
net_type=(${bridge[@]})
elif [[ $network_type == "network" ]] ; then
net_prefix="network"
net_type=networks
net_type=(${networks[@]})
fi
# Now define the network definition