Last modified: 2013-09-11 22:45:29 UTC
Matma Rex, via wikitech-l: > I tried it out on my Windows XP, and on `vagrant up` it promptly > took all the 1.5 GB of free space on disk C: and crashed (I > purposefully keep my system partition small). > > Is it possible to make it write the big files (the downloaded OS > image and the virtual disk) into somewhere else than %userprofile%? > I know VirtualBox can do that, as I have two VMs set up in this way. This is probably achievable using config.vm.provider :virtualbox ..., which allows you to invoke VBoxManage modifyvm before the box is provisioned. See http://www.virtualbox.org/manual/ch08.html for a full description of modifyvm options.
It turns out you just need to set VAGRANT_HOME in your environment. If you want to make this configuration sticky, you'll need to add it to your persistent environment variables. In Windows, you can do so via the GUI or the command prompt. GUI: Control Panel -> System -> Advanced -> Environment Variables Command prompt: "setx" (see <http://technet.microsoft.com/en-us/library/cc755104(v=ws.10).aspx>). In windows, just set VAGRANT_HOME="d:\vms"
[mass-moving from Tools>MediaWiki-Vagrant to separate product. See bug 54041. Filter bugmail on this comment.]