Update nodemgmt-scripts.sh

This commit is contained in:
2019-01-28 13:17:04 -06:00
parent a348f08d06
commit a45a4e8b21

View File

@@ -41,7 +41,7 @@ case "$1" in
else
NCMD="ssh root@${nip}"
fi
echo -en "${ADISP}ing Node ${nid} ($nip)...${idsCL[Default]}"
echo -en "${ADISP}ing on Node ${nid} ($nip)...${idsCL[Default]}"
$NCMD systemctl $3 $2
if [[ $(${NCMD} pgrep ${2} | wc -l) -gt "0" ]]; then
echo -e "${idsCL[Green]}OK${idsCL[Default]}"