Last modified: 2013-09-11 22:45:29 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T48675, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 46675 - Utilization of resources on host should be explicit and configurable
Utilization of resources on host should be explicit and configurable
Status: RESOLVED WORKSFORME
Product: MediaWiki-Vagrant
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Ori Livneh
http://www.virtualbox.org/manual/ch08...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-03-29 00:29 UTC by Ori Livneh
Modified: 2013-09-11 22:45 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Ori Livneh 2013-03-29 00:29:45 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.
Comment 1 Ori Livneh 2013-04-13 20:12:47 UTC
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"
Comment 2 Andre Klapper 2013-09-11 22:45:29 UTC
[mass-moving from Tools>MediaWiki-Vagrant to separate product. See bug 54041. Filter bugmail on this comment.]

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links