Browse Source

exclude build directory in vagrant rsync

tags/2.2.2
Jérémy Lecour 6 months ago
committed by Jérémy Lecour
parent
commit
5ae3f04098
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Vagrantfile

+ 1
- 1
Vagrantfile 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|


Loading…
Cancel
Save