From a3fcec0043bceee507c8b9f0620d71eb9acbadc9 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Tue, 1 Oct 2019 23:35:59 -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 6017ec79..b18551fc 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -1380,7 +1380,7 @@ NODEUPDATE() { for nip in "${!var}"; do if [[ $(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) == *"${nip}"* ]]; then nip='localhost ' - NCMD='ssh root@$localhost' + NCMD='ssh root@localhost' else NCMD="ssh root@${nip}" fi