mirror of
https://0xacab.org/liberate/backupninja.git
synced 2024-11-09 20:32:38 +01:00
vagrant: apply rsync config to both vms
This commit is contained in:
parent
297f3f8562
commit
d0ac95524b
8
Vagrantfile
vendored
8
Vagrantfile
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user