Update defaults.inc

This commit is contained in:
2023-07-04 15:04:35 -05:00
parent e2a6f51eae
commit 3af68f565d

View File

@@ -45,11 +45,11 @@ if [ -f ${NM_FOLDER}/defaults.local.inc ]; then
for k in "${!NM_NODETYPES[@]}"; do
echo "${NM_NODETYPES["$k"]} ${k}"
done | sort -f | while read desc nmtype; do
NODE_TYPES+=("${nmtype}")
eval NODE_TYPES+=("${nmtype}")
echo "$nmtype - $desc"
done
echo "HERE: ${!NODE_TYPES}"
echo "HERE: ${NODE_TYPES}"
for ntype in "${NODE_TYPES[@]}"; do
arr ${ntype}_HOSTS