From d42a39f8a562bc36c66b3506a31d5909fb0cfda1 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Sun, 17 Dec 2017 14:38:32 +0100 Subject: Exclude public/system from syncing from host to vagrant box. This overwrites uploaded images etc in the box. --- Vagrantfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vagrantfile b/Vagrantfile index c5e6a76..2dfe550 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -7,5 +7,5 @@ Vagrant.configure("2") do |config| config.vm.guest = :freebsd config.vm.network :forwarded_port, host: 3000, guest: 3000 config.vm.provision :shell, :path => "vagrant/bootstrap.sh" - config.vm.synced_folder ".", "/vagrant", type: "rsync", rsync__exclude: %w[.git/ db/*.sqlite3 vendor/bundle/] + config.vm.synced_folder ".", "/vagrant", type: "rsync", rsync__exclude: %w[.git/ db/*.sqlite3 public/system/ vendor/bundle/] end -- cgit v1.2.3