From 42e18e57fd98aad54501200d49a2c96a5c69b65a Mon Sep 17 00:00:00 2001 From: Victor LABORIE Date: Tue, 4 Jun 2019 17:43:26 +0200 Subject: [PATCH] Add a Vagrantfile for testing --- .gitignore | 2 ++ Vagrantfile | 26 ++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 .gitignore create mode 100644 Vagrantfile diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9183973 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +*.swp +.vagrant diff --git a/Vagrantfile b/Vagrantfile new file mode 100644 index 0000000..d3fee04 --- /dev/null +++ b/Vagrantfile @@ -0,0 +1,26 @@ +# -*- mode: ruby -*- +# vi: set ft=ruby : + +Vagrant::DEFAULT_SERVER_URL.replace('https://vagrantcloud.com') + +# Load ~/.VagrantFile if exist, permit local config provider +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.ssh.shell="/bin/sh" + + $install = <