diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 4173d79e..3036a467 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -1648,19 +1648,19 @@ NODEUPDATE() { nip=${MYSQLMANAGER} NCMD="ssh root@${MYSQLMANAGER}" fi - echo -en "Updating MySQL-Manager ($nip)... ${idsCL[Default]}" + echo -en "Updating MySQL-Manager ($nip )... ${idsCL[Default]}" ${NCMD} "nodemgmt update q" echo -e "${idsCL[Green]}COMPLETE${idsCL[Default]}" echo nid=1 for nip in "${NODE_HOSTS[@]}"; do if [[ $(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) == *"${nip}"* ]]; then - nip='localhost ' + nip='localhost ' NCMD='ssh root@localhost' else NCMD="ssh root@${nip}" fi - echo -en "Updating MySQL-Node${nid} ($nip)... ${idsCL[Default]}" + echo -en "Updating MySQL-Node${nid} ($nip )... ${idsCL[Default]}" ${NCMD} "nodemgmt update q" echo -e "${idsCL[Green]}COMPLETE${idsCL[Default]}" nid=`expr $nid + 1` @@ -1669,7 +1669,7 @@ NODEUPDATE() { nid=1 for nip in "${LB_HOSTS[@]}"; do if [[ $(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) == *"${nip}"* ]]; then - nip='localhost ' + nip='localhost ' NCMD='ssh root@localhost' else NCMD="ssh root@${nip}" @@ -1683,7 +1683,7 @@ NODEUPDATE() { nid=1 for nip in "${WEB_HOSTS[@]}"; do if [[ $(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) == *"${nip}"* ]]; then - nip='localhost ' + nip='localhost ' NCMD='ssh root@localhost' else NCMD="ssh root@${nip}"