mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Fixes RuntimeError: Event loop is closed. Fixes #266.
This commit is contained in:
1 parent
dfd6af3c22
commit
6ee94331d4
2 files changed
+14
-4
No files matched your search
@@ -210,7 +210,7 @@ class VMwareVM(BaseVM):
|
||||
if self._adapter_type != "default":
|
||||
adapter_type = "ethernet{}.virtualdev".format(adapter_number)
|
||||
if adapter_type in self._vmx_pairs and self._vmx_pairs[adapter_type] != self._adapter_type:
|
||||
raise VMwareError("Network adapter {} is not of type {}, please fix or remove it".format(self._adapter_type))
|
||||
raise VMwareError("Network adapter {} is not of type {}, please fix or remove it".format(adapter_number, self._adapter_type))
|
||||
|
||||
# check if connected to an adapter configured for nat or bridge
|
||||
if self._ethernet_adapters[adapter_number].get_nio(0) and not self._use_any_adapter:
|
||||
|
||||
Reference in new issue
Block a user