Update nodemgmt-scripts.sh
This commit is contained in:
@@ -780,11 +780,11 @@ RUN_COMMAND(){
|
|||||||
done
|
done
|
||||||
if [ "${nodetype}" == "ALL" ] || [ -z ${nodetype+x} ]; then
|
if [ "${nodetype}" == "ALL" ] || [ -z ${nodetype+x} ]; then
|
||||||
nodetype=ALL
|
nodetype=ALL
|
||||||
NT_HOSTS=ALL_HOSTS[@]
|
# NT_HOSTS=ALL_HOSTS[@]
|
||||||
NTS=(${NM_NODE_TYPES[*]})
|
# NTS=(${NM_NODE_TYPES[*]})
|
||||||
elif [ "${nodetype}" != "" ]; then
|
elif [ "${nodetype}" != "" ]; then
|
||||||
if [ "${NM_HOSTS[${nodetype}]}" != "" ]; then
|
if [ "${NM_HOSTS[${nodetype}]}" != "" ]; then
|
||||||
NT_HOSTS=${nodetype}_HOSTS[@]
|
# NT_HOSTS=${nodetype}_HOSTS[@]
|
||||||
NTS=("${nodetype}");
|
NTS=("${nodetype}");
|
||||||
else
|
else
|
||||||
echo -e "${idsCL[Red]}"${nodetype}" is an unknown NodeType.${idsCL[Default]}\n"
|
echo -e "${idsCL[Red]}"${nodetype}" is an unknown NodeType.${idsCL[Default]}\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user