From 5deb9d5b4e45326ac6e21d1f3b8d4222e6f8fba5 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 25 Oct 2020 13:36:57 -0500 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index aa3defee..781d4deb 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -1364,15 +1364,12 @@ SERVICE(){ echo -en "${idsCL[LightYellow]}Verifying nginx config and ssl cert replication across the nodes... ${idsCL[Default]}" fi if [[ $(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) == *"${!NT_HOST}"* ]]; then - PH_CMD="" + PH_CMD="ssh root@localhost" else PH_CMD="ssh root@${!NT_HOST}" fi - echo "HERE: ${PH_CMD}" - ${PH_CMD} "/usr/bin/touch /etc/nginx/test.repl" ${PH_CMD} "echo -e \"Service ${1} ${2}\" > /etc/nginx/test.repl" if [ "$NODE_TYPE" != "NC" ]; then - ${PH_CMD} "/usr/bin/touch /etc/letsencrypt/test.repl" ${PH_CMD} "echo -e \"Service ${1} ${2}\" > /etc/letsencrypt/test.repl" fi for nip in "${!NT_HOSTS}"; do