diff --git a/defaults.inc b/defaults.inc index 36e99427..7e4e675a 100755 --- a/defaults.inc +++ b/defaults.inc @@ -59,7 +59,7 @@ if [ -f ${FOLDER}/defaults.local.inc ]; then for ntype in "${NODE_TYPES[@]}"; do IFS=, - declare NM_HOSTS_${ntype}=(${NM_HOSTS[${ntype}]}) + declare NM_HOSTS_${ntype}=(${NM_HOSTS["$ntype"]}) unset IFS done