[VBox-users] guest name only known when virtualbox app running
Scripts for Virtualbox
Status: Pre-Alpha
Brought to you by:
fcassia4oss
|
From: n952162 <n9...@we...> - 2022-02-28 19:07:50
|
Hi,
I normally start my vm with:
vboxmanage startvm guest1
Recently, I did some reconfiguration and now that command works, but
only if the VirtualBox application has been started. Actually, it
doesn't even need to be running anymore for the magic to work.
If the VirtualBox GUI hasn't run since the last boot, I get this when I
use startvm:
VBoxManage: error: Could not find a registered machine named 'guest'
VBoxManage: error: Details: code VBOX_E_OBJECT_NOT_FOUND
(0x80bb0001), component VirtualBoxWrap, interface IVirtualBox,
callee nsISupports
VBoxManage: error: Context: "FindMachine(Bstr(pszVM).raw(),
machine.asOutParam())" at line 721 of file VBoxManageMisc.cpp
But if it has, then the vboxmanage command works and the vm starts up.
Can anyone explain what's happening?
|