Update nodemgmt-scripts.sh

This commit is contained in:
2024-12-06 21:06:47 -06:00
parent ff566133bd
commit 0e5799f410

View File

@@ -780,11 +780,11 @@ RUN_COMMAND(){
done
if [ "${nodetype}" == "ALL" ] || [ -z ${nodetype+x} ]; then
nodetype=ALL
NT_HOSTS=ALL_HOSTS[@]
NTS=(${NM_NODE_TYPES[*]})
# NT_HOSTS=ALL_HOSTS[@]
# NTS=(${NM_NODE_TYPES[*]})
elif [ "${nodetype}" != "" ]; then
if [ "${NM_HOSTS[${nodetype}]}" != "" ]; then
NT_HOSTS=${nodetype}_HOSTS[@]
# NT_HOSTS=${nodetype}_HOSTS[@]
NTS=("${nodetype}");
else
echo -e "${idsCL[Red]}"${nodetype}" is an unknown NodeType.${idsCL[Default]}\n"