From 870fb783da3cd0168529ba22579da802a9d8b5fe Mon Sep 17 00:00:00 2001 From: dongzhimin Date: Thu, 14 Aug 2025 23:00:46 +0800 Subject: [PATCH] fixed issue which causes nfs unable to work --- Vagrantfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vagrantfile b/Vagrantfile index 0a343670240..f369a10407e 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -173,7 +173,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| end if config.vm.networks.any? { |type, options| type == :private_network } - config.vm.synced_folder ".", "/vagrant", type: "nfs", mount_options: ['rw', 'actimeo=1'] + config.vm.synced_folder ".", "/vagrant", type: "nfs", mount_options: ['rw', 'tcp','actimeo=1'] else config.vm.synced_folder ".", "/vagrant", type: "rsync", create: true, rsync__args: ["--verbose", "--archive", "--delete", "-z"] end