1
0
mirror of https://github.com/GNS3/gns3-server synced 2025-01-11 08:30:57 +00:00

Fix an issue with finding vmrun and vboxmanage

Ref #1575
This commit is contained in:
Julien Duponchelle 2016-10-19 17:42:08 +02:00
parent a4f8675c93
commit f038735595
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8
2 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ class VirtualBox(BaseManager):
else:
vboxmanage_path = "vboxmanage"
if not os.path.abspath(vboxmanage_path):
if not os.path.isabs(vboxmanage_path):
vboxmanage_path = shutil.which(vboxmanage_path)
if not vboxmanage_path:

View File

@ -107,7 +107,7 @@ class VMware(BaseManager):
else:
vmrun_path = "vmrun"
if not os.path.abspath(vmrun_path):
if not os.path.isabs(vmrun_path):
vmrun_path = shutil.which(vmrun_path)
if not vmrun_path: