diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 2599288a..8b8f8c03 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -1643,7 +1643,7 @@ NODEUPDATE() { echo -e "${idsCL[LightGreen]}-------------------------------------------${idsCL[Default]}" if [[ $(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) == *"${MYSQLMANAGER}"* ]]; then nip='localhost ' - NCMD='' + NCMD='ssh root@localhost' else nip=${MYSQLMANAGER} NCMD="ssh root@${MYSQLMANAGER}"