1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-19 14:58:07 +00:00

Ask for reboot if VBoxManage is not found

This commit is contained in:
Julien Duponchelle 2016-11-07 15:49:25 +01:00
parent 7931ee01b3
commit a35eaa8e60
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -72,7 +72,7 @@ class VirtualBox(BaseManager):
vboxmanage_path = shutil.which(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):
raise VirtualBoxError("VBoxManage {} is not accessible".format(vboxmanage_path))
if not os.access(vboxmanage_path, os.X_OK):