The default location is ~/VirtualBox\ VMS
. How can I change it in command line? (GUI is not an option)?
1 Answer
This is a global VirtualBox property, and can be set with the following command:
vboxmanage setproperty machinefolder /path/to/directory/
Be aware that this will not move already created VMs, it will affect only VMs which are created after the machinefolder
property has been set.
-
-
10use
vboxmanage list systemproperties | grep folder
to find out the current settings resp. to verify.– Frank NOct 6, 2017 at 8:50
~/VirtualBox\ VMs
a symlink to another directory an option ?