Carmelo Cascone | d661507 | 2017-12-15 00:53:43 -0800 | [diff] [blame^] | 1 | Vagrant.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" |
| 14 | end |