From 52b690b683d8b8f0a1fdc395b7d111f8d27f6f79 Mon Sep 17 00:00:00 2001 From: grossmj Date: Sun, 4 Feb 2018 22:08:41 +0800 Subject: [PATCH] Fix "Unable to override non-custom VMware adapter". --- gns3server/compute/vmware/vmware_vm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gns3server/compute/vmware/vmware_vm.py b/gns3server/compute/vmware/vmware_vm.py index 37311f5e..3e2e58df 100644 --- a/gns3server/compute/vmware/vmware_vm.py +++ b/gns3server/compute/vmware/vmware_vm.py @@ -745,7 +745,7 @@ class VMwareVM(BaseNode): "Please remove it or allow VMware VM '{name}' to use any adapter.".format(attachment=self._vmx_pairs[connection_type], adapter_number=adapter_number, name=self.name)) - elif self.is_running(): + elif (yield from self.is_running()): raise VMwareError("Attachment '{attachment}' is configured on network adapter {adapter_number}. " "Please stop VMware VM '{name}' to link to this adapter and allow GNS3 to change the attachment type.".format(attachment=self._vmx_pairs[connection_type], adapter_number=adapter_number,