Update nodemgmt-scripts.sh

This commit is contained in:
2019-11-24 10:04:11 -06:00
parent 177cd2b09e
commit c1c8baf50a

View File

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