Ticket #9588 (closed defect: worksforme)

Opened 8 years ago

Last modified 8 years ago

VBM clonevm fails to recognise tilda as home directory

Reported by: ndastur Owned by:
Component: VM control Version: VirtualBox 4.1.0
Keywords: clonevm Cc:
Guest type: other Host type: Linux

Description (last modified by frank) (diff)

If a virtual machine is cloned using

VBoxManage clonevm Machine2Clone \
  --mode=all --name=NewVMName --basefolder=~/VBox/NewVMName --register

The machine will get cloned into


So the initial tilda in basefolder is not translated into the user home directory as is expected.

Change History

comment:1 Changed 8 years ago by frank

  • Status changed from new to closed
  • Resolution set to worksforme
  • Description modified (diff)

The correct syntax is to insert a space between option and parameter instead of '=':

VBoxManage clonevm Machine2Clone \
  --mode all --name NewVMName --basefolder ~/VBox/NewVMName --register

If you use the syntax with '=' then the shell will not detect that this parameter has to be properly extracted. The '=' form is undocumented. It sometimes works in VBoxManage (but not always).

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use