Update nodemgmt-scripts.sh
This commit is contained in:
@@ -1197,7 +1197,10 @@ SERVICE(){
|
|||||||
if [ "${3}" != "q" ]; then
|
if [ "${3}" != "q" ]; then
|
||||||
echo -en "${idsCL[LightYellow]}Verifying nginx config and ssl cert replication across the nodes... ${idsCL[Default]}"
|
echo -en "${idsCL[LightYellow]}Verifying nginx config and ssl cert replication across the nodes... ${idsCL[Default]}"
|
||||||
fi
|
fi
|
||||||
|
echo
|
||||||
|
echo '1'
|
||||||
echo `(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1)`
|
echo `(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1)`
|
||||||
|
echo '2'
|
||||||
echo ${nip}
|
echo ${nip}
|
||||||
if [[ $(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) == *"${nip}"* ]]; then
|
if [[ $(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) == *"${nip}"* ]]; then
|
||||||
PH_CMD=""
|
PH_CMD=""
|
||||||
|
|||||||
Reference in New Issue
Block a user