Skip to main content

Home/ Linux/ Group items tagged vagrant

Rss Feed Group items tagged

David Corking

Make .vagrant tree host-specific · Issue #3362 · mitchellh/vagrant - 4 views

  • I keep my local repos in a Dropbox folder so I can switch between my desktop and laptop seamlessly and still have the current state of everything be synced, including changes that haven't been committed yet.
  • 1. vagrant halt to shutdown machines 2. added "export VAGRANT_DOTFILE_PATH=.vagrant-laptop" to ~/.bashrc 3. open new terminals to inherit the new env var 4. move .vagrant to .vagrant-laptop 5. vagrant up -- it works! 6. change "/.vagrant" to "/.vagrant*" in my .gitignore
1 - 1 of 1
Showing 20 items per page