diff --git a/confluent_osdeploy/common/profile/scripts/confignet b/confluent_osdeploy/common/profile/scripts/confignet index bb52eed2..18945a3d 100644 --- a/confluent_osdeploy/common/profile/scripts/confignet +++ b/confluent_osdeploy/common/profile/scripts/confignet @@ -567,4 +567,13 @@ if __name__ == '__main__': if havefirewall: subprocess.check_call(['systemctl', 'start', 'firewalld']) await_tentative() + maxwait = 10 + while maxwait: + try: + tclient = apiclient.HTTPSClient(checkonly=True) + tclient.check_connections() + break + except Exception: + maxwait -= 1 + time.sleep(1)