Skip to content

Instantly share code, notes, and snippets.

@timf
Created November 8, 2012 19:20
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save timf/4040915 to your computer and use it in GitHub Desktop.
Save timf/4040915 to your computer and use it in GitHub Desktop.
vagrant ramdisk (Linux)
cd /home/tim/VirtualBox\ VMs/
mv proxydev2_1351794515 tmp
mkdir proxydev2_1351794515
sudo mount -t tmpfs -o size=10G tmpfs /home/tim/VirtualBox\ VMs/proxydev2_1351794515
cp -a tmp/* proxydev2_1351794515/
# go back to vagrant directory and `vagrant up`
@jmcbee
Copy link

jmcbee commented May 24, 2015

what's this for?

@najamelan
Copy link

@fbm-static

put your virtual machine in a ramdisk, which should greatly speed up any vagrant operation like up halt, destroy...

and it should also wear your hdd out much less if you do a lot of up/destroy cycles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment