use vagrant file version 2 configuration for nfs synced folder
This commit is contained in:
parent
5384c037b7
commit
f2faabec25
|
@ -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
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue