Merge pull request #1736 from ThomasWaldmann/vagrant-rsync-no-chown

vagrant: no chown when rsyncing
This commit is contained in:
TW 2016-10-17 21:02:22 +02:00 committed by GitHub
commit ca357a2b38

2
Vagrantfile vendored
View file

@ -301,7 +301,7 @@ end
Vagrant.configure(2) do |config|
# use rsync to copy content to the folder
config.vm.synced_folder ".", "/vagrant/borg/borg", :type => "rsync", :rsync__args => ["--verbose", "--archive", "--delete", "-z"]
config.vm.synced_folder ".", "/vagrant/borg/borg", :type => "rsync", :rsync__args => ["--verbose", "--archive", "--delete", "-z"], :rsync__chown => false
# do not let the VM access . on the host machine via the default shared folder!
config.vm.synced_folder ".", "/vagrant", disabled: true