Fix shell error on vagrant provision and rm old config

This commit is contained in:
Victor LABORIE 2019-01-16 16:14:20 +01:00
parent 5a6234df17
commit 7a36db7eeb
1 changed files with 2 additions and 4 deletions

6
Vagrantfile vendored
View File

@ -8,10 +8,8 @@ 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/config.ini' ]
config.vm.network "forwarded_port", guest: 80, host: 8080, auto_correct: true
config.vm.network "forwarded_port", guest: 443, host: 8443, auto_correct: true
config.vm.synced_folder "./", "/vagrant", type: "rsync", rsync__exclude: [ '.vagrant', '.git' ]
config.ssh.shell="/bin/sh"
$deps = <<SCRIPT
rm -f /usr/share/scripts/evocheck.sh