Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

Commit

Permalink
stop using NFS for synced folders, put a comment explaining why
Browse files Browse the repository at this point in the history
Signed-off-by: Brian Ramos <brirams@users.noreply.github.com>
  • Loading branch information
brirams committed Dec 5, 2018
1 parent 3f5a312 commit 9358393
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,13 @@ Vagrant.configure("2") do |config|
# Demo Appp
config.vm.network "forwarded_port", guest: 8000, host: 8000 # http

# If possible, use nfs, this gives a good boost to IO operations in the VM.
# if you run into with nfs, just remove this from the synced folder

config.vm.synced_folder ".", "/vagrant/src/vitess.io/vitess", type: "nfs"
# N.B. It's possible to use NFS to help speed up IO operations in the VM but
# some OSX users have reported issues running govendor with it enabled.
# Additional details in https://github.com/vitessio/vitess/issues/4396
#
# To enable, use:
# config.vm.synced_folder ".", "/vagrant/src/vitess.io/vitess", type: "nfs"
config.vm.synced_folder ".", "/vagrant/src/vitess.io/vitess"

config.vm.provider :virtualbox do |vb|
vb.name = "vitess"
Expand Down

0 comments on commit 9358393

Please sign in to comment.