Adding Vagrantfile for development

This commit is contained in:
ilumos 2017-08-27 22:17:18 +01:00
parent a24f840759
commit d3a1e9741a
2 changed files with 26 additions and 4 deletions

9
.gitignore vendored
View file

@ -1,5 +1,6 @@
/vendor/
.env
database.sqlite
.idea/
/vendor/
.env
database.sqlite
.idea/
.vagrant/
.DS_Store

21
Vagrantfile vendored Normal file
View file

@ -0,0 +1,21 @@
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "ubuntu/xenial64"
config.vm.hostname = "lancache-autofill"
config.vm.network "public_network",
use_dhcp_assigned_default_route: true
config.vm.provider "virtualbox" do |v|
v.customize ["modifyvm", :id, "--natdnshostresolver1", "off"]
v.customize ["modifyvm", :id, "--natdnsproxy1", "off"]
end
config.vm.provision "shell",
inline: "/bin/bash /vagrant/install.sh"
end