Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (23 sloc) 898 Bytes
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
# Host name of the VM
config.vm.hostname = ""
# Base image for VM = "ubuntu/trusty64"
# Configure private network by DHCP "private_network", type: "dhcp"
# Update /etc/hosts on all active VMs
config.hostmanager.enabled = true
# Update host machine's /etc/hosts
config.hostmanager.manage_host = true
# Don't ignore private IPs
config.hostmanager.ignore_private_ip = false
# Include offline VMs (rather than just active ones)
config.hostmanager.include_offline = true
# Use IP resolver to get DHCP configured address
config.hostmanager.ip_resolver = proc do |vm, resolving_vm|
`vagrant ssh -c "hostname -I"`.split.last
# Use shell script for provisioning
config.vm.provision "shell", inline:'bin/provision'), privileged: false