Hello, Vagrant will use the default location for each provider, so the fix will be per provider.
For Virtualbox, you can change that location on the gui/preferences and any new VM will be created there. For Vmware, I have read that there is a parameter you can use to specify the directory where the disks are going, and I will assume you can also edit the the default vm location. Hope this helps. Alvaro. On Thu, Aug 14, 2014 at 8:32 AM, Yiyu Jia <[email protected]> wrote: > > Also, I know we can got o VirtualBox Manager and click "File -> Preference > -> General" to change the default machine folder. > > But, do we have provider options that allow us to specify different VM to > different folder inside one VagrantFile ? > > > > > On Wednesday, August 13, 2014 3:59:42 PM UTC-4, Yiyu Jia wrote: >> >> >> I had Vagrant and VirtualBox installed on my CentOS 6.5 PC server. I find >> that the vm image file is always put under folder ./root/VirtualBox VMs/ . >> >> Will anyone please share with me how to make Vagrant to put new launched >> vm image files under a specified folder? I have this question because I >> have multiple lvm on my machine and the default folder is under a lvm >> partition whose size is very small. I want to make vagrant to put new >> launched vm image under other lvm partition which has big size. >> >> any help will be appreciated! >> >> -- > You received this message because you are subscribed to the Google Groups > "Vagrant" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
