about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEugen <eugen@zeonfederated.com>2017-04-05 23:26:44 +0200
committerGitHub <noreply@github.com>2017-04-05 23:26:44 +0200
commitdea6e47de07fa027c0f754d876bbfca758f86305 (patch)
tree2bfc18b0e0fdebc3645a9ba41553f8651a307992
parent5442083b3c44c731679fc489568bf7f70a807a39 (diff)
parentc19e0f1212b63a3db702adc2c6444e1a323b7d27 (diff)
Merge pull request #993 from foozmeat/patch-1
Use NFS for the shared folder because it dramatically decreases latency for git operations.
-rw-r--r--Vagrantfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Vagrantfile b/Vagrantfile
index 154d0e895..b93ec9fa2 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -97,6 +97,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
     config.hostsupdater.remove_on_suspend = false
   end
 
+  config.vm.synced_folder ".", "/vagrant", type: "nfs", mount_options: ['rw', 'vers=3', 'tcp']
+
   # Otherwise, you can access the site at http://localhost:3000
   config.vm.network :forwarded_port, guest: 80, host: 3000