mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-19 23:08:09 +00:00
Support VMware VM in non standard location for fusion
This commit is contained in:
parent
a5b5f6c811
commit
7f77c66888
@ -618,7 +618,7 @@ class VMware(BaseManager):
|
|||||||
yield from self.check_vmware_version()
|
yield from self.check_vmware_version()
|
||||||
|
|
||||||
inventory_path = self.get_vmware_inventory_path()
|
inventory_path = self.get_vmware_inventory_path()
|
||||||
if os.path.exists(inventory_path) and self.host_type == "ws":
|
if os.path.exists(inventory_path) and self.host_type != "player":
|
||||||
# inventory may exist for VMware player if VMware workstation has been previously installed
|
# inventory may exist for VMware player if VMware workstation has been previously installed
|
||||||
return self._get_vms_from_inventory(inventory_path)
|
return self._get_vms_from_inventory(inventory_path)
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user