explicitly explain how to disable the default share

This caused a great deal of confusion e.g. as seen in

https://github.com/mitchellh/vagrant/issues/1004
This commit is contained in:
Adam Spiers 2014-05-04 14:46:43 +01:00
parent d9e38949ec
commit 5fc1114051
1 changed files with 6 additions and 0 deletions

View File

@ -75,6 +75,12 @@ Vagrant.configure("2") do |config|
end
```
Disabling the default `/vagrant` share can be done as follows:
```ruby
config.vm.synced_folder ".", "/vagrant", disabled: true
```
## Modifying the Owner/Group
By default, Vagrant mounts the synced folders with the owner/group set