Skip to content

Commit

Permalink
vagrant: Use rsync backend for file sharing
Browse files Browse the repository at this point in the history
Vagrant defaults to nfs on linux, which requires root rights and changes
nfs configuration. The rsync backend is much less invasive, but needs
manual triggering (at least `vagrant rsync-auto`).

Closes #29
  • Loading branch information
larskarlitski authored and martinpitt committed Jun 25, 2018
1 parent 1d0a8d3 commit a897812
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Vagrant.configure(2) do |config|
end

config.vm.synced_folder ".", "/vagrant", disabled: true
config.vm.synced_folder "dist/", "/usr/local/share/cockpit/" + File.basename(Dir.pwd), create: true
config.vm.synced_folder "dist/", "/usr/local/share/cockpit/" + File.basename(Dir.pwd), type: "rsync", create: true

config.vm.provider "libvirt" do |libvirt|
libvirt.memory = 1024
Expand Down

0 comments on commit a897812

Please sign in to comment.