Update nodemgmt-scripts.sh

This commit is contained in:
2019-03-27 00:06:27 -05:00
parent b48bada49f
commit 663b91c6fe

View File

@@ -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"