From cdedd533397cef86d00e345a84b5291fa51cc0e2 Mon Sep 17 00:00:00 2001 From: grossmj Date: Mon, 14 Jun 2021 13:16:11 +0930 Subject: [PATCH] Fix VMware VM support on Linux and Windows. Fixes #1919 --- gns3server/compute/vmware/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gns3server/compute/vmware/__init__.py b/gns3server/compute/vmware/__init__.py index 934de130..37a640a2 100644 --- a/gns3server/compute/vmware/__init__.py +++ b/gns3server/compute/vmware/__init__.py @@ -365,9 +365,9 @@ class VMware(BaseManager): vmnet_interfaces = self._get_vmnet_interfaces_ubridge() else: vmnet_interfaces = self._get_vmnet_interfaces() + vmnet_interfaces = list(vmnet_interfaces.keys()) + self._vmnets_info = vmnet_interfaces.copy() - self._vmnets_info = vmnet_interfaces.copy() - vmnet_interfaces = list(vmnet_interfaces.keys()) # remove vmnets already in use for vmware_vm in self._nodes.values(): for used_vmnet in vmware_vm.vmnets: