Merge pull request #9940 from marjune163/doc-improve

use vagrant file version 2 configuration for nfs synced folder
This commit is contained in:
Brian Cain 2018-06-18 09:00:50 -07:00 committed by GitHub
commit 43f63dfbc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -91,7 +91,7 @@ specify alternate NFS arguments when mounting the NFS share by using the
```ruby ```ruby
config.vm.synced_folder ".", "/vagrant", config.vm.synced_folder ".", "/vagrant",
nfs: true, type: "nfs",
mount_options: ['actimeo=2'] mount_options: ['actimeo=2']
``` ```
@ -109,7 +109,7 @@ NFS share asynchronous:
```ruby ```ruby
config.vm.synced_folder ".", "/vagrant", config.vm.synced_folder ".", "/vagrant",
nfs: true, type: "nfs",
linux__nfs_options: ['rw','no_subtree_check','all_squash','async'] linux__nfs_options: ['rw','no_subtree_check','all_squash','async']
``` ```
@ -208,7 +208,7 @@ When using NFSv4, ensure the `nfs_udp` option is set to false. For example:
```ruby ```ruby
config.vm.synced_folder ".", "/vagrant", config.vm.synced_folder ".", "/vagrant",
nfs: true, type: "nfs",
nfs_version: 4, nfs_version: 4,
nfs_udp: false nfs_udp: false
``` ```