Update nodemgmt-scripts.sh
This commit is contained in:
@@ -797,7 +797,7 @@ RUN_COMMAND(){
|
||||
fi
|
||||
for NTYPE in "${NTS[@]}"; do
|
||||
echo -e "${idsST[Bold]}"; DIVIDER
|
||||
echo -e "${idsCL[Yellow]} ${NM_NODETYPES[$NTYPE]}-Nodes to run command { \`${RUNCMD}\` }${idsCL[Default]}"
|
||||
echo -e "${idsCL[Yellow]} ${NM_NODETYPES[$NTYPE]}-Nodes to run command { \`${idsCL[Default]}${RUNCMD}${idsCL[Yellow]}\` }${idsCL[Default]}"
|
||||
DIVIDER; echo -e "${idsST[Reset]}"
|
||||
NT_HOSTS=${NTYPE}_HOSTS[@]
|
||||
for nip in "${!NT_HOSTS}"; do
|
||||
@@ -808,7 +808,7 @@ RUN_COMMAND(){
|
||||
NCMD="ssh -q -o ConnectTimeout=3 -o ConnectionAttempts=1 root@${nip}"
|
||||
LH=''
|
||||
fi
|
||||
echo -e " ${idsST[Bold]}${idsCL[LightCyan]}${NM_HOSTNAMES[${nip}]}[${nip}]${idsST[Reset]}${idsCL[LightCyan]} ${idsCL[LightYellow]}${LH}${idsCL[Default]}"
|
||||
echo -e " ${idsST[Bold]}${idsCL[LightCyan]}${NM_HOSTNAMES[${nip}]}[${nip}]${idsST[Reset]} ${idsCL[LightYellow]}${LH}${idsCL[Default]}"
|
||||
DIVIDER false green
|
||||
if [ ! -f /tmp/nmg.run.${nip} ]; then
|
||||
|
||||
|
||||
Reference in New Issue
Block a user