Vagrantfile: Use default rsync args

We want this to act as a mirror within the VM (i.e. delete files, too),
and the default args do that.
This commit is contained in:
Andrew Eikum 2019-04-09 10:06:04 -05:00
parent b88c785248
commit 68fa2a2545

2
Vagrantfile vendored
View file

@ -14,7 +14,7 @@ Vagrant.configure(2) do |config|
#set up shared and rsynced folders #set up shared and rsynced folders
config.vm.synced_folder "./vagrant_share/", "/vagrant/", id: "share", create: true config.vm.synced_folder "./vagrant_share/", "/vagrant/", id: "share", create: true
config.vm.synced_folder ".", "/home/vagrant/proton", id: "proton", type: "rsync", rsync__exclude: ["/output/", "vagrant_share"], rsync__args: ["--verbose", "--archive", "-z", "--links", "--update"] config.vm.synced_folder ".", "/home/vagrant/proton", id: "proton", type: "rsync", rsync__exclude: ["/output/", "vagrant_share"]
#this is where the VM is initialized on first setup #this is where the VM is initialized on first setup
config.vm.provision "shell", privileged: "true", inline: <<-SHELL config.vm.provision "shell", privileged: "true", inline: <<-SHELL