use vagrant file version 2 configuration for nfs synced folder

This commit is contained in:
marjune 2018-06-17 23:31:15 +08:00
parent 5384c037b7
commit f2faabec25
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
config.vm.synced_folder ".", "/vagrant",
nfs: true,
type: "nfs",
mount_options: ['actimeo=2']
```
@ -109,7 +109,7 @@ NFS share asynchronous:
```ruby
config.vm.synced_folder ".", "/vagrant",
nfs: true,
type: "nfs",
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
config.vm.synced_folder ".", "/vagrant",
nfs: true,
type: "nfs",
nfs_version: 4,
nfs_udp: false
```