lancache-autofill/Vagrantfile

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