lancache-autofill/Vagrantfile
2018-11-27 23:11:02 +00:00

29 lines
960 B
Ruby

# -*- 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/bionic64"
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" ]
end
config.vm.provision "apt",
type: "shell",
inline: "apt update && apt install -y lib32gcc1 lib32stdc++6 lib32tinfo5 lib32ncurses5 php7.2-cli php7.2-mbstring php7.2-sqlite php7.2-bcmath composer expect zip unzip"
config.vm.provision "project",
type: "shell",
privileged: false,
inline: "/vagrant/install.sh"
end