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

Fix #824
This commit is contained in:
Julien Duponchelle committed 2016-12-12 15:03:56 +01:00
1 parent e2fd339f35
commit 922da7c90f
1 file changed
+3
@@ -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)