Merge pull request #4712 from aspiers/doc-disabling-default-synced-folders
Improve docs for synced folders
This commit is contained in:
commit
4250ceff3d
|
@ -66,7 +66,7 @@ Synced folders are automatically setup during `vagrant up` and
|
||||||
|
|
||||||
## Disabling
|
## 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:
|
any definition:
|
||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
|
@ -75,6 +75,12 @@ Vagrant.configure("2") do |config|
|
||||||
end
|
end
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Disabling the default `/vagrant` share can be done as follows:
|
||||||
|
|
||||||
|
```ruby
|
||||||
|
config.vm.synced_folder ".", "/vagrant", disabled: true
|
||||||
|
```
|
||||||
|
|
||||||
## Modifying the Owner/Group
|
## Modifying the Owner/Group
|
||||||
|
|
||||||
By default, Vagrant mounts the synced folders with the owner/group set
|
By default, Vagrant mounts the synced folders with the owner/group set
|
||||||
|
|
Loading…
Reference in New Issue