From d0ac95524b4cd2d44de48354df5f28652bca978b Mon Sep 17 00:00:00 2001 From: Jerome Charaoui Date: Tue, 12 Jan 2021 12:15:39 -0500 Subject: [PATCH] vagrant: apply rsync config to both vms --- Vagrantfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index 1c6fbc9..fc64ec0 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -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