Joined September 2013
·
Achievements
64 Karma
0 Total ProTip Views
Charity
Fork and commit to someone's open source project in need
Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos
Forked
Have a project valued enough to be forked by someone else
Mongoose 3
Have at least three original repos where Ruby is the dominant language
Mongoose
Have at least one original repo where Ruby is the dominant language
Raven
Have at least one original repo where some form of shell script is the dominant language
This article helped me indeed!
Polishing up, I found that there's actually an upstart event Vagrant emits each time it mounts a shared folder - called 'vagrant-mounted', along with an environment variable 'MOUNTPOINT=[path]' (see Upstart EventStructure, look up for the 'Environment' section ).
It's possible to have an upstart config file listening to the 'vagrant-mounted' event, and check for the $MOUNTPOINT value... mine went something like this:
This will eliminate the need of adding the suggested line to the Vagrantfile, and stick to what's already provided by Vagrant.
Hope this helps!