blob: 69580be7a3521b433f339a3c9ba2dc8bb395eb59 [file] [log] [blame]
Carmelo Casconed6615072017-12-15 00:53:43 -08001Vagrant.configure(2) do |config|
2 config.vm.box = "bento/ubuntu-16.04"
3 config.vm.provider "virtualbox" do |vb|
4 vb.name = "ONOS-P4 Dev " + Time.now.strftime("(%Y-%m-%d)")
5 vb.gui = true
6 vb.cpus = 2
7 vb.memory = 4096
8 end
9 config.vm.hostname = "onos-p4-dev"
10 # By default vagrant creates a NAT interface.
11 # Create a second one host-only.
12 config.vm.network "private_network", :type => 'dhcp', :adapter => 2
13 config.vm.provision "shell", path: "root-bootstrap.sh"
14end