vagrant: apply rsync config to both vms

This commit is contained in:
Jerome Charaoui 2021-01-12 12:15:39 -05:00
parent 297f3f8562
commit d0ac95524b

8
Vagrantfile vendored
View File

@ -56,10 +56,6 @@ Vagrant.configure("2") do |config|
ssh vagrant@bntest1 "sudo systemctl reload sshd"
SHELL
local.vm.synced_folder ".", "/vagrant", type: "rsync",
rsync__exclude: ".git/",
rsync__args: ["--recursive", "--delete"]
local.vm.provider :virtualbox do |vb|
unless File.exist?(empty_disk)
vb.customize ['createhd', '--filename', empty_disk, '--size', 100 ]
@ -80,4 +76,8 @@ Vagrant.configure("2") do |config|
end
end
config.vm.synced_folder ".", "/vagrant", type: "rsync",
rsync__exclude: ".git/",
rsync__args: ["--recursive", "--delete"]
end