VirtualBox

Opened 13 years ago

Closed 13 years ago

#9588 closed defect (worksforme)

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 Mehnert)

If a virtual machine is cloned using

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

The machine will get cloned into

.VirtualBox/~/VBox/NewVMName

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

Change History (1)

comment:1 by Frank Mehnert, 13 years ago

Description: modified (diff)
Resolution: worksforme
Status: newclosed

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.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette