Skip to content

Commit

Permalink
Fix "Unable to override non-custom VMware adapter".
Browse files Browse the repository at this point in the history
  • Loading branch information
grossmj committed Feb 4, 2018
1 parent 654aa18 commit 52b690b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gns3server/compute/vmware/vmware_vm.py
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,7 @@ def adapter_add_nio_binding(self, adapter_number, nio):
"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,
Expand Down

0 comments on commit 52b690b

Please sign in to comment.