Skip to content

Instantly share code, notes, and snippets.

@louismrose
Last active October 16, 2015 10:34
Show Gist options
  • Save louismrose/a69a8471656deb8a1d8e to your computer and use it in GitHub Desktop.
Save louismrose/a69a8471656deb8a1d8e to your computer and use it in GitHub Desktop.
Instructions for fixing Vagrant on CSE lab machines
  1. Run the following command in a terminal:
VBoxManage setproperty machinefolder /var/tmp
  1. Add the following line to the end of your ~/.bash_profile (or equivalent)
export VAGRANT_HOME=/var/tmp
  1. Re-source your terminal (e.g., quit and restart any terminal windows).

  2. Run the following command to free up any disk space that Vagrant has been stealing from you:

rm -rf ~/.vagrant.d
  1. In the directory to which you cloned the DAMS practicals Git repository, run:
git fetch
git rebase

(If this fails, you might need to stash your changes first with git add -A then git stash. After you've rebased you can run git stash pop).

  1. Rebuild your VM:
vagrant destroy
vagrant up --provision
  1. If you have also cloned Flippd's Git repository, repeat steps 5 and 6 in the directory containing your local repo.
@louismrose
Copy link
Author

Many thanks to Angelo and Richard K for helping me to figure this out.

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