1
When I use vagrant
with default settings and default Vagrantfile
it will mount the current host folder into:
/vagrant
in the guest box. Owner and group of the directory is vagrant
.
How can I change the mount point and the group id of the default share? Maybe I'm blind but I didn't found anything about that in the documentation.
I'm using vagrant 1.0.1. (Should have mentioned this in the question) This version uses the
shared_folder
syntax in Vagrantfile. I tried to override the default share but it didn't work as expected. I figured out that this was because I didn't used thev-root
id for the share. Now it's working using the following line:config.vm.share_folder "v-root", "/vagrant", ".", :group => "my-group"
. But however, thanks for your help! Overriding the share in Vagrantfile does the trick! – hek2mgl – 2013-10-18T13:49:22.057