Skip to content

Commit

Permalink
Use NFS for Vagrant shared folder
Browse files Browse the repository at this point in the history
Apparently the default VirtualBox file system used for shared folders
has a really weird bug that prevents repo cloning from working. Yup,
this was a blast to debug. Using NFS for the share fixes (?) this.

Discussion: libgit2/git2go#194
  • Loading branch information
Macaully James Muir committed Aug 18, 2016
1 parent a552caa commit b15cee2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ Vagrant.configure(2) do |config|
config.vm.hostname = "evabox"
config.vm.define "evabox"
config.vm.box_check_update = false
config.vm.synced_folder '.', '/evabot'
config.vm.synced_folder '.', '/evabot', nfs: true
config.vm.network "private_network", type: "dhcp"
config.vm.network "forwarded_port", guest: 3000, host: 3000

config.vm.provider "virtualbox" do |v|
Expand Down

0 comments on commit b15cee2

Please sign in to comment.