From cde1f2caa8287cab4e996ec0896faff7aca31405 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Wed, 27 Mar 2019 00:09:26 -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 0be9b190..f0c51705 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -1408,7 +1408,7 @@ NODEUPDATE() { if [[ $(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) == *"${MYSQLMANAGER}"* ]]; then nip=${MYSQLMANAGER} c=0; cw=15; spc='' - spc1=${cw}-${#NM_NODETYPES[$NTYPE]} + spc1=${cw}-13 until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done echo -en "Updating MySQL-Manager${spc}($nip)...${idsCL[Default]}" #ssh root@${MYSQLMANAGER} "nodemgmt update q"