From f2faabec253b5787ba1138f96c32723886e72766 Mon Sep 17 00:00:00 2001 From: marjune Date: Sun, 17 Jun 2018 23:31:15 +0800 Subject: [PATCH] use vagrant file version 2 configuration for nfs synced folder --- website/source/docs/synced-folders/nfs.html.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/website/source/docs/synced-folders/nfs.html.md b/website/source/docs/synced-folders/nfs.html.md index ff1b068ac..7a59a575a 100644 --- a/website/source/docs/synced-folders/nfs.html.md +++ b/website/source/docs/synced-folders/nfs.html.md @@ -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 ```