mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-06 07:11:13 +02:00
Fixing race condition when starting the GNS3 VM.
This commit is contained in:
1 parent
5f14f8eb46
commit
f9c7c15f95
4 files changed
+41
-31
No files matched your search
@@ -171,7 +171,7 @@ class VMwareGNS3VM(BaseGNS3VM):
|
||||
trial -= 1
|
||||
# If ip not found fallback on old method
|
||||
if trial == 0:
|
||||
log.warn("No IP found for the VM via readVariable fallback to getGuestIPAddress")
|
||||
log.warning("No IP found for the VM via readVariable fallback to getGuestIPAddress")
|
||||
guest_ip_address = yield from self._execute("getGuestIPAddress", [self._vmx_path, "-wait"], timeout=120)
|
||||
break
|
||||
yield from asyncio.sleep(1)
|
||||
|
||||
Reference in new issue
Block a user