forked from evolix/evobackup
exclude build directory in vagrant rsync
This commit is contained in:
parent
7d9043acc9
commit
5ae3f04098
2
Vagrantfile
vendored
2
Vagrantfile
vendored
|
@ -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|
|
||||
|
|
Loading…
Reference in a new issue