Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

Commit

Permalink
Merge pull request #2145 from oxyc/issue-2144
Browse files Browse the repository at this point in the history
Fixes #2144: Change docs on native synced folders to use explicit type
  • Loading branch information
geerlingguy committed Feb 9, 2021
2 parents 218b92f + 41cfaa3 commit f87bff5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions docs/getting-started/syncing-folders.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ There are a number of issues people encounter with synced folders from time to t

### Using Native Synced Folders

You can use a native synced folder, which should work pretty flawlessly on any platform, but with a potential serious performance downside (compared to other synced folder methods). Just set `type` to `""`.
You can use a native synced folder, which should work pretty flawlessly on any platform, but with a potential serious performance downside (compared to other synced folder methods). Just set `type` to `virtualbox`.

```yaml
vagrant_synced_folders:
- local_path: .
destination: /var/www/docroot
type: ""
type: virtualbox
create: true
```

Expand All @@ -65,7 +65,7 @@ If you're encountering errors where Drupal or some other software inside the VM
vagrant_synced_folders:
- local_path: .
destination: /var/www/drupalvm
type: ""
type: virtualbox
create: true
mount_options: ["dmode=775", "fmode=664"]
options_override:
Expand Down
4 changes: 2 additions & 2 deletions docs/other/performance.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ vagrant_synced_folders:
# Use a slower but two-way sync for configuration sync directory.
- local_path: config/drupal
destination: /var/www/drupal/config/drupal
type: "" # Or smb/nfs if available
type: virtualbox # Or smb/nfs if available
create: true
```
Expand All @@ -82,7 +82,7 @@ Another option for the more adventurous is to manually install and configure Win

GuyPaddock's [fork of `vagrant-winnfsd`](https://github.com/GuyPaddock/vagrant-winnfsd) adds logging and debug messages. You can replace the vagrant-winnfsd gem inside `.vagrant.d\gems\gems` to use it instead. For further caveats, please read through [vagrant-winnfsd issue #12](https://github.com/winnfsd/vagrant-winnfsd/issues/12#issuecomment-78195957), and make the following changes to `config.yml`:

vagrant_synced_folder_default_type: ""
vagrant_synced_folder_default_type: virtualbox

Add `mount_options` to your synced folder to avoid an error:

Expand Down

0 comments on commit f87bff5

Please sign in to comment.