From a454ca0c502f424f6c887162a8e55b5b889d6fa5 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 25 Mar 2019 12:58:38 -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 62728dc2..b215d304 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -867,7 +867,7 @@ NIGHTLYRENEW(){ timeout=`date --date='2 minutes' +%s` until [ "${checked}" = "" ]; do tchecked='' - for nip in "${NODE_HOSTS[@]}"; do + for nip in "${WEB_HOSTS[@]}"; do if [[ $(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) == *"${nip}"* ]]; then NCMD='' else NCMD="ssh root@${nip}" fi