33

The default location is ~/VirtualBox\ VMS. How can I change it in command line? (GUI is not an option)?

2
  • 3
    Would you consider making ~/VirtualBox\ VMs a symlink to another directory an option ? – Sergiy Kolodyazhnyy Jul 20 '16 at 11:32
  • @Serg, I considered it thanks, reconfiguring the location would be preferable – bpgergo Jul 20 '16 at 11:40
44

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.

2
  • This worked, thanks, this is what I was looking for – bpgergo Jul 20 '16 at 11:41
  • 10
    use vboxmanage list systemproperties | grep folder to find out the current settings resp. to verify. – Frank Nocke Oct 6 '17 at 8:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.