Update nodemgmt-scripts.sh

This commit is contained in:
2019-02-07 14:08:38 -06:00
parent 8733fb788b
commit c0393d62cf

View File

@@ -77,7 +77,7 @@ STATUS() {
fi
echo -e " ${idsST[Bold]}${idsCL[LightCyan]}iDS-Node${nid} (${nip})${idsST[Reset]}${idsCL[LightCyan]} ${LH}${idsCL[Default]}"
DIVIDER false green
if [ $(CHECK_HOST ${1}) = "false" ]; then
if [ $(CHECK_HOST ${nip}) = "false" ]; then
for srvc in "${NODE_SERVICES[@]}"
do
c=0; cw=22; spc=''
@@ -108,7 +108,7 @@ STATUS() {
if [[ $(/sbin/ip -o -4 addr list ens192 | awk '{print $4}' | cut -d/ -f1) != *"${nip}"* ]] && [ "${isreplhost}" = "false" ]; then
echo -e " ${idsST[Bold]}${idsCL[LightCyan]}iDS-Node${nid} (${nip})${idsST[Reset]}${idsCL[Default]}"
DIVIDER false green
if [ $(CHECK_HOST ${1}) = "false" ]; then
if [ $(CHECK_HOST ${nip}) = "false" ]; then
for rcheck in "${REPL_CHECK[@]}"; do
c=0; cw=22; spc=''
spc1=${cw}-${#REPL_DESC[${rcheck}]}