From 870fb783da3cd0168529ba22579da802a9d8b5fe Mon Sep 17 00:00:00 2001 From: dongzhimin Date: Thu, 14 Aug 2025 23:00:46 +0800 Subject: [PATCH 1/3] 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 From 7db768aedf8ed506526b0c03e2065105b342fc22 Mon Sep 17 00:00:00 2001 From: dongzhimin Date: Thu, 14 Aug 2025 23:39:36 +0800 Subject: [PATCH 2/3] fix issues --- Vagrantfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vagrantfile b/Vagrantfile index f369a10407e..1bfd0578651 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', 'tcp','actimeo=1'] + config.vm.synced_folder ".", "/vagrant", type: "nfs", mount_options: ['rw', 'actimeo=1'], nfs_udp: false else config.vm.synced_folder ".", "/vagrant", type: "rsync", create: true, rsync__args: ["--verbose", "--archive", "--delete", "-z"] end From 53f7aabb16fc3992a17b31b1a1ad1f8b80f34583 Mon Sep 17 00:00:00 2001 From: dongzhimin Date: Fri, 15 Aug 2025 22:08:30 +0800 Subject: [PATCH 3/3] fixed issues that vagrant can't run --- Vagrantfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vagrantfile b/Vagrantfile index 1bfd0578651..667fdc5f9f7 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'], nfs_udp: false + config.vm.synced_folder ".", "/vagrant" else config.vm.synced_folder ".", "/vagrant", type: "rsync", create: true, rsync__args: ["--verbose", "--archive", "--delete", "-z"] end