Created
November 8, 2012 19:20
-
-
Save timf/4040915 to your computer and use it in GitHub Desktop.
vagrant ramdisk (Linux)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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` |
@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
what's this for?