Update nodemgmt-scripts.sh

This commit is contained in:
2019-11-24 10:01:10 -06:00
parent 98176058a1
commit 177cd2b09e

View File

@@ -1197,6 +1197,8 @@ SERVICE(){
if [ "${3}" != "q" ]; then
echo -en "${idsCL[LightYellow]}Verifying nginx config and ssl cert replication across the nodes... ${idsCL[Default]}"
fi
echo `(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1)`
echo ${nip}
if [[ $(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) == *"${nip}"* ]]; then
PH_CMD=""
else