I have a shell script like this:
Code: Select all
import --vsys 0 --ostype Ubuntu_64 $ovfFile
vmname=xxxx
newName=${vname}-clone-1
clonevm $vmname --options link --name $newName --registerCode: Select all
VBoxManage: error: Linked clone can only be created from a snapshot
VBoxManage: error: Details: code NS_ERROR_INVALID_ARG (0x80070057), component Machine, interface IMachine, callee nsISupports
VBoxManage: error: Context: "CloneTo(trgMachine, mode, ComSafeArrayAsInParam(options), progress.asOutParam())" at line 482 of file VBoxManageMisc.cppfrom a snapshot. But when I use the UI I can make a linked clone of a freshly imported appliance. What
else do I have to do from the command-line?
Is there a way to launch VirtualBox from the command-line so I can see the underlying commands UI actions trigger? I tried --debug-command-line but that had no effect.
- Eric