diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 9bfeba6e..2f137635 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -82,7 +82,7 @@ case "$1" in nid=1 for nip in "${node_hosts[@]}" do - echo -en "${idsCL[Cyan]}${STA}ing Node ${nid}...${idsCL[Default]}" + echo -en "${idsCL[Cyan]}${STA}ing Node ${nid} ($nip)...${idsCL[Default]}" ssh root@${nip} systemctl $3 $2 if [[ $(ssh root@${nip} ps -ef | grep -c ${2}) -ne 1 ]]; then echo -e "${idsCL[Green]}OK${idsCL[Default]}"