From bd328fba717cbc683cfef765b0cdb375024ba0c4 Mon Sep 17 00:00:00 2001 From: Codenift Date: Thu, 10 Oct 2019 01:55:21 -0400 Subject: [PATCH 1/2] Support for macOS Catalina (NFS sync fix) --- Vagrantfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Vagrantfile b/Vagrantfile index b8e34a1ef..88b2b041b 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -14,7 +14,11 @@ Vagrant.configure("2") do |config| config.vm.network "forwarded_port", guest: 8888, host:8888 # make sure we are using nfs (doesn't work out of the box with debian) - config.vm.synced_folder ".", "/vagrant", type: "nfs" + nfsPath = "." + if Dir.exist?("/System/Volumes/Data") + nfsPath = "/System/Volumes/Data" + Dir.pwd + end + config.vm.synced_folder nfsPath, "/vagrant", type: "nfs" # private network for nfs config.vm.network "private_network", ip: "192.168.10.100" From 339a87900eb6324a68220150006578ed4a8f6257 Mon Sep 17 00:00:00 2001 From: Codenift Date: Thu, 10 Oct 2019 10:07:55 -0400 Subject: [PATCH 2/2] Update Vagrantfile --- Vagrantfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Vagrantfile b/Vagrantfile index 88b2b041b..073ed73dc 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -15,6 +15,7 @@ Vagrant.configure("2") do |config| # make sure we are using nfs (doesn't work out of the box with debian) nfsPath = "." + # Catalina support if Dir.exist?("/System/Volumes/Data") nfsPath = "/System/Volumes/Data" + Dir.pwd end