1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-13 20:08:55 +00:00

Raise error when we can't found VboxManage at GNS3 VM startup

Fix #824
This commit is contained in:
Julien Duponchelle 2016-12-12 15:03:32 +01:00
parent e2fd339f35
commit 922da7c90f
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -93,6 +93,9 @@ class VirtualBox(BaseManager):
vboxmanage_path = self.vboxmanage_path
if not vboxmanage_path:
vboxmanage_path = self.find_vboxmanage()
if not vboxmanage_path:
raise VirtualBoxError("Could not found VBoxManage")
command = [vboxmanage_path, "--nologo", subcommand]
command.extend(args)
command_string = " ".join(command)