Skip to content
Snippets Groups Projects
Commit d0ac9552 authored by Jérôme Charaoui's avatar Jérôme Charaoui
Browse files

vagrant: apply rsync config to both vms

parent 297f3f85
Branches
Tags
No related merge requests found
...@@ -56,10 +56,6 @@ Vagrant.configure("2") do |config| ...@@ -56,10 +56,6 @@ Vagrant.configure("2") do |config|
ssh vagrant@bntest1 "sudo systemctl reload sshd" ssh vagrant@bntest1 "sudo systemctl reload sshd"
SHELL SHELL
local.vm.synced_folder ".", "/vagrant", type: "rsync",
rsync__exclude: ".git/",
rsync__args: ["--recursive", "--delete"]
local.vm.provider :virtualbox do |vb| local.vm.provider :virtualbox do |vb|
unless File.exist?(empty_disk) unless File.exist?(empty_disk)
vb.customize ['createhd', '--filename', empty_disk, '--size', 100 ] vb.customize ['createhd', '--filename', empty_disk, '--size', 100 ]
...@@ -80,4 +76,8 @@ Vagrant.configure("2") do |config| ...@@ -80,4 +76,8 @@ Vagrant.configure("2") do |config|
end end
end end
config.vm.synced_folder ".", "/vagrant", type: "rsync",
rsync__exclude: ".git/",
rsync__args: ["--recursive", "--delete"]
end end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment