lancache-autofill/Vagrantfile

30 lines
960 B
Ruby
Raw Normal View History

2017-08-27 21:17:18 +00:00
# -*- 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"]
v.customize ["modifyvm", :id, "--uartmode1", "disconnected" ]
2017-08-27 21:17:18 +00:00
end
config.vm.provision "apt",
type: "shell",
2017-12-09 01:23:03 +00:00
inline: "apt update && apt install -y lib32gcc1 lib32stdc++6 lib32tinfo5 lib32ncurses5 php7.0-cli php7.0-mbstring php7.0-sqlite php7.0-bcmath composer expect zip unzip"
config.vm.provision "project",
type: "shell",
privileged: false,
inline: "/vagrant/install.sh"
2017-08-27 21:17:18 +00:00
end