mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Fixes issue when loading a project using VMware vmnet interfaces. Fixes #319.
This commit is contained in:
1 parent
57bbd63085
commit
6e36687347
2 files changed
+6
-2
No files matched your search
@@ -820,7 +820,8 @@ class VMwareVM(BaseVM):
|
||||
raise VMwareError("Sorry, adding a link to a started VMware VM is not supported without uBridge enabled")
|
||||
self._vmx_pairs["ethernet{}.vnet".format(adapter_number)] = nio.vmnet
|
||||
self._write_vmx_file()
|
||||
self._vmnets.append(nio.vmnet)
|
||||
if nio.vmnet not in self._vmnets:
|
||||
self._vmnets.append(nio.vmnet)
|
||||
adapter.add_nio(0, nio)
|
||||
if self._started and self._use_ubridge:
|
||||
yield from self._add_ubridge_connection(nio, adapter_number)
|
||||
|
||||
Reference in new issue
Block a user