mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-15 12:59:06 +00:00
VMware Fusion support with uBridge.
This commit is contained in:
parent
46698924fd
commit
cc7fe1a477
@ -320,6 +320,9 @@ class VMwareVM(BaseVM):
|
|||||||
interface=npf))
|
interface=npf))
|
||||||
else:
|
else:
|
||||||
raise VMwareError("Could not find NPF id for VMnet interface {}".format(vmnet_interface))
|
raise VMwareError("Could not find NPF id for VMnet interface {}".format(vmnet_interface))
|
||||||
|
elif sys.platform.startswith("darwin"):
|
||||||
|
yield from self._ubridge_hypervisor.send('bridge add_nio_fusion_vmnet {name} "{interface}"'.format(name=vnet,
|
||||||
|
interface=vmnet_interface))
|
||||||
else:
|
else:
|
||||||
yield from self._ubridge_hypervisor.send('bridge add_nio_ethernet {name} "{interface}"'.format(name=vnet,
|
yield from self._ubridge_hypervisor.send('bridge add_nio_ethernet {name} "{interface}"'.format(name=vnet,
|
||||||
interface=vmnet_interface))
|
interface=vmnet_interface))
|
||||||
|
Loading…
Reference in New Issue
Block a user