Vagrant Move Project Directory

Feb. 6, 2015

I started to move my development works on my local envirnoment setup to Vagrant. Since I like to reinstall my system once major update released like Mac OSX 10.9 to 10.10, this will save lots of time for me.

And also, I watched this video Get Off MAMP on Laracast to push me move to Vagrant.

Recently, I have moved one of my projects to a new directory, and it told me path is not correct once I vagrant up my project. Becuase I am using Vaprobash as basic start Vagrantfile, it is using NFS to sync folder between your local and box, which will modify /etc/exports.

What I need to do after I move existing project to another directory, I just need modify /etc/exports and update the directory path to new one.