mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-25 00:08:11 +00:00
Ask for reboot if VBoxManage is not found
This commit is contained in:
parent
7931ee01b3
commit
a35eaa8e60
@ -72,7 +72,7 @@ class VirtualBox(BaseManager):
|
|||||||
vboxmanage_path = shutil.which(vboxmanage_path)
|
vboxmanage_path = shutil.which(vboxmanage_path)
|
||||||
|
|
||||||
if not vboxmanage_path:
|
if not vboxmanage_path:
|
||||||
raise VirtualBoxError("Could not find VBoxManage")
|
raise VirtualBoxError("Could not find VBoxManage if you just install VirtualBox you need to reboot")
|
||||||
if not os.path.isfile(vboxmanage_path):
|
if not os.path.isfile(vboxmanage_path):
|
||||||
raise VirtualBoxError("VBoxManage {} is not accessible".format(vboxmanage_path))
|
raise VirtualBoxError("VBoxManage {} is not accessible".format(vboxmanage_path))
|
||||||
if not os.access(vboxmanage_path, os.X_OK):
|
if not os.access(vboxmanage_path, os.X_OK):
|
||||||
|
Loading…
Reference in New Issue
Block a user