-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVagrantfile
22 lines (20 loc) · 957 Bytes
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.define "web" do |web|
web.vm.box = "sbrumley/opendxl"
web.vm.hostname = "web"
web.vm.network "forwarded_port", guest: 5000, host: 5000
web.vm.provision "shell", path: "scripts/vagrant.sh"
web.vm.provider :virtualbox do |v|
v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
v.customize ["modifyvm", :id, "--memory", 512]
v.customize ["modifyvm", :id, "--name", "web"]
### On 64-bit Windows machine VT-Virtualization might need to be turned on in BIOS
#v.customize ["modifyvm", :id, "--hwvirtex", "off"]
#v.customize ["modifyvm", :id, "--vtxvpid", "off"]
#v.customize ["modifyvm", :id, "--vtxux", "off"]
#v.gui = true ## For Debugging VM
end
end
end