diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 87471160..a24e159c 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -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=''