Update nodemgmt-scripts.sh

This commit is contained in:
2019-02-07 10:45:41 -06:00
parent 90214b111a
commit d4dd4c0765

View File

@@ -30,10 +30,11 @@ STATUS() {
fi fi
done done
echo echo "${idsST[Bold]}"
DIVIDER DIVIDER
echo -e "${idsST[Bold]}${idsCL[Yellow]} Node Service Status${idsCL[Default]}" echo -e "${idsST[Bold]}${idsCL[Yellow]} Node Service Status${idsCL[Default]}"
DIVIDER true DIVIDER
echo "${idsST[Reset]}"
if [ ! -z ${LOCAL_SERVICES+x} ]; then if [ ! -z ${LOCAL_SERVICES+x} ]; then
lip=$(/sbin/ip -o -4 addr list ens192 | awk '{print $4}' | cut -d/ -f1) lip=$(/sbin/ip -o -4 addr list ens192 | awk '{print $4}' | cut -d/ -f1)
echo -e " ${idsST[Bold]}${idsCL[LightCyan]}${NODE_HOSTNAME} (${lip})${idsST[Reset]}${idsCL[LightCyan]} - localhost${idsCL[Default]}" echo -e " ${idsST[Bold]}${idsCL[LightCyan]}${NODE_HOSTNAME} (${lip})${idsST[Reset]}${idsCL[LightCyan]} - localhost${idsCL[Default]}"