exclude build directory in vagrant rsync

This commit is contained in:
Jérémy Lecour 2020-04-18 10:40:28 +02:00 committed by Jérémy Lecour
parent 7d9043acc9
commit 5ae3f04098
1 changed files with 1 additions and 1 deletions

2
Vagrantfile vendored
View File

@ -6,7 +6,7 @@ vagrantfile = File.join("#{Dir.home}", '.VagrantFile')
load File.expand_path(vagrantfile) if File.exists?(vagrantfile)
Vagrant.configure('2') do |config|
config.vm.synced_folder "./", "/vagrant", type: "rsync", rsync__exclude: [ '.vagrant', '.git' ]
config.vm.synced_folder "./", "/vagrant", type: "rsync", rsync__exclude: [ '.vagrant', '.git', 'build' ]
config.ssh.shell="/bin/sh"
config.vm.provider :libvirt do |libvirt|