Update nodemgmt-scripts.sh

This commit is contained in:
2019-02-04 00:11:02 -06:00
parent 4facdbb057
commit d21dc9eecf

View File

@@ -20,6 +20,7 @@ source /opt/idssys/nodemgmt/defaults.inc
STATUS() {
if [ ! -z ${LOCAL_SERVICES+x} ]; then
lip=$(/sbin/ip -o -4 addr list ens192 | awk '{print $4}' | cut -d/ -f1)
DIVIDER
echo -e "Node hostname: ${idsST[Bold]}${idsCL[LightCyan]}${NODE_HOSTNAME} (${lip})${idsST[Reset]}${idsCL[LightCyan]} - localhost${idsCL[Default]}"
for srvc in "${LOCAL_SERVICES[@]}"
do