[~] improve timeout
This commit is contained in:
parent
1254c08db2
commit
e504663d38
@ -333,9 +333,9 @@ class VMKer:
|
||||
ipv4, ipv6 = self._get_vm_ip(vm)
|
||||
if len(ipv4) > 0:
|
||||
break
|
||||
time.sleep(0.3)
|
||||
time.sleep(1)
|
||||
t += 1
|
||||
if t > 50:
|
||||
if t > 120:
|
||||
return logger.error("No IPv4 address found.")
|
||||
|
||||
logger.info(f"IPv4: {', '.join(ipv4)}")
|
||||
|
Loading…
x
Reference in New Issue
Block a user