From 663b91c6fe1ba5b820634629ef5e0338e7a42398 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Wed, 27 Mar 2019 00:06:27 -0500 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index c7bdc381..3745ce80 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -1405,7 +1405,7 @@ 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) != *"${MYSQLMANAGER}"* ]]; then + if [[ $(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) != *"${MYSQLMANAGER21}"* ]]; then nip=${MYSQLMANAGER} echo -en "Updating MySQL-Manager ($nip )... ${idsCL[Default]}" ssh root@${MYSQLMANAGER} "nodemgmt update q"