Ticket #8468 (closed enhancement: wontfix)

Opened 12 years ago

Last modified 9 years ago

use registervm to register machine with .vbox file

Reported by: TechGeek Owned by:
Component: other Version: VirtualBox 4.0.4
Keywords: Cc:
Guest type: other Host type: other

Description (last modified by frank) (diff)

The vmname.vbox file that is created for machines is associated with the VirtualBox application. Double clicking it in Linux (and I assume Windows too) registers the guest in the VirtualBox Manager, including the hard drive file. It would be really nice if this could be done from the command line also. I tried using registervm on the file, in case that is how it was suppose to work, and received the following errors (in case its relevant)

VBoxManage: error: Runtime error opening '/home/grs/.VirtualBox/fedora_14.vbox' for reading: -102 (File not found.).
VBoxManage: error: /home/vbox/vbox-4.0.4/src/VBox/Main/src-server/MachineImpl.cpp[430] (nsresult Machine::init(VirtualBox*, const com::Utf8Str&, const com::Guid*))
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component VirtualBox, interface IVirtualBox, callee nsISupports
Context: "OpenMachine(Bstr(a->argv[0]).raw(), machine.asOutParam())" at line 88 of file VBoxManageMisc.cpp

Change History

comment:1 Changed 12 years ago by TechGeek

This is in error. registervm requires the full path. Works just fine now. Sorry.

comment:2 Changed 9 years ago by frank

  • Status changed from new to closed
  • Resolution set to wontfix
  • Description modified (diff)
Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use