From d92dbe37db992c2550bdd539f1aa9ea7f9ce6d4b Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Wed, 26 Apr 2023 11:23:20 -0500 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index ba5def14..8227384a 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -160,6 +160,7 @@ STATUS(){ fi for nip in "${!var}"; do + echo $nip if [[ $(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) == *"${nip}"* ]]; then NCMD=''; LH='- localhost' else NCMD="ssh root@${nip}"; LH='' fi