From be7bf6a8024ce02cc23fc37d57b92dbb7c7222c7 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 26 Nov 2022 12:13:58 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 390fbca4..8c8a5e3b 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -1714,9 +1714,9 @@ SERVICE(){ # fi # if [ "${GO}" == "true" ]; then if [ $sethost == true ]; then - nodename=${NM_HOSTNAMES['${3}']}; + nodename=${NM_HOSTNAMES[${3}]} else - nodename="${NM_NODETYPES[$NTYPE]}-Node${nid}"; + nodename="${NM_NODETYPES[$NTYPE]}-Node${nid}" fi if [[ $(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) == *"${nip}"* ]]; then nip='localhost '