From e3d406cc70f031b08cce349fdc98d06e7fff8240 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Wed, 27 Mar 2019 00:07:03 -0500 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 3745ce80..f7fd866f 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -1405,10 +1405,10 @@ NODEUPDATE() { declare -i cw; declare -i spc1; declare -i c echo -e "${idsCL[LightGreen]}Updating All Nodes and Webservers${idsCL[Default]}" echo -e "${idsCL[LightGreen]}-------------------------------------------${idsCL[Default]}" - if [[ $(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) != *"${MYSQLMANAGER21}"* ]]; then + if [[ $(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) == *"${MYSQLMANAGER}"* ]]; then nip=${MYSQLMANAGER} echo -en "Updating MySQL-Manager ($nip )... ${idsCL[Default]}" - ssh root@${MYSQLMANAGER} "nodemgmt update q" + #ssh root@${MYSQLMANAGER} "nodemgmt update q" echo -e "${idsCL[Green]}COMPLETE${idsCL[Default]}" echo fi