Update nodemgmt-scripts.sh
This commit is contained in:
@@ -9,7 +9,7 @@ source /opt/idssys/nodemgmt/settings.conf
|
||||
source /opt/idssys/defaults/colors.inc
|
||||
source /opt/idssys/defaults/default.inc
|
||||
|
||||
IFS=','
|
||||
IFS=,
|
||||
node_hosts=(${node_hosts})
|
||||
unset IFS
|
||||
|
||||
@@ -79,7 +79,7 @@ case "$1" in
|
||||
STA="$(tr '[:lower:]' '[:upper:]' <<< ${3:0:1})${3:1}"
|
||||
echo -e "${idsCL[LightGreen]}[[${SER} ${STA}ing]]${idsCL[Default]}"
|
||||
|
||||
for i in "${node_hosts}"
|
||||
for i in "${node_hosts{@}}"
|
||||
do
|
||||
echo "Here: ${i}"
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user