From 7adabe6b06621b3dda5e184104d3b9b4c421d3f5 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 1 Apr 2019 23:14:57 -0500 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 02728eb6..3dc04785 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -367,11 +367,11 @@ NEWCERT(){ echo -e "${idsCL[LightGreen]}Requesting Certificate for '${idsCL[Yellow]}${NEW_CERT}${idsCL[LightGreen]}'...${idsCL[Default]}" echo "" - for nip in "${MYSQL_HOSTS[@]}"; do - if [[ $(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) != *"${nip}"* ]]; then - `ssh root@${nip} service nginx stop` - fi - done + # for nip in "${WEB_HOSTS[@]}"; do + # if [[ $(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) != *"${nip}"* ]]; then + # `ssh root@${nip} service nginx stop` + # fi + # done $CERT_DAEMON certonly --webroot -w /var/www/html -d ${NEW_CERT} # $CERT_DAEMON certonly --dry-run --webroot -w /var/www/html -d ${NEW_CERT}