From d9e38949ecf2ba9147f1d7ce0bac7452a9ee717c Mon Sep 17 00:00:00 2001 From: Adam Spiers Date: Sun, 4 May 2014 14:45:58 +0100 Subject: [PATCH 1/2] consistently use "synced folders" terminology The terminology is "synced folders" not "shared folders" (presumably to avoid confusion with `vagrant share` which is something completely different). --- website/docs/source/v2/synced-folders/basic_usage.html.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/source/v2/synced-folders/basic_usage.html.md b/website/docs/source/v2/synced-folders/basic_usage.html.md index 2e1be7e43..c5ea57a6b 100644 --- a/website/docs/source/v2/synced-folders/basic_usage.html.md +++ b/website/docs/source/v2/synced-folders/basic_usage.html.md @@ -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 From 5fc11140516ece866e2045b5cddc1a86f84a3e54 Mon Sep 17 00:00:00 2001 From: Adam Spiers Date: Sun, 4 May 2014 14:46:43 +0100 Subject: [PATCH 2/2] 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 --- website/docs/source/v2/synced-folders/basic_usage.html.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/website/docs/source/v2/synced-folders/basic_usage.html.md b/website/docs/source/v2/synced-folders/basic_usage.html.md index c5ea57a6b..5a1f7dcd5 100644 --- a/website/docs/source/v2/synced-folders/basic_usage.html.md +++ b/website/docs/source/v2/synced-folders/basic_usage.html.md @@ -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