Update nodemgmt-scripts.sh

This commit is contained in:
2019-02-06 19:46:43 -06:00
parent 94de6a7d0f
commit b91339db9c

View File

@@ -81,7 +81,7 @@ NEWCERT(){
echo -en "${idsCL[LightYellow]}Waiting for certifcate replication between the nodes... ${idsCL[Default]}"
checked=false
until [ "${synccheck}" = "" ]; do
until [ "${checked}" = "" ]; do
tchecked=''
for nip in "${NODE_HOSTS[@]}"; do
if [[ $(/sbin/ip -o -4 addr list ens192 | awk '{print $4}' | cut -d/ -f1) == *"${nip}"* ]]; then NCMD=''