Merge pull request #4712 from aspiers/doc-disabling-default-synced-folders

Improve docs for synced folders
This commit is contained in:
Seth Vargo 2014-10-25 08:44:28 -07:00
commit 4250ceff3d
1 changed files with 7 additions and 1 deletions

View File

@ -66,7 +66,7 @@ Synced folders are automatically setup during `vagrant up` and
## Disabling
Shared folders can be disabled by adding the `disabled` option to
Synced folders can be disabled by adding the `disabled` option to
any definition:
```ruby
@ -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