mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-18 02:41:49 +02:00
Builds and OVA from scratch with the most updated tools in one command. The build process is based on Vagrant. Change-Id: I633d99092946f99e877f0c97631a4f99c5b1f37e
15 lines
489 B
Ruby
15 lines
489 B
Ruby
Vagrant.configure(2) do |config|
|
|
config.vm.box = "bento/ubuntu-16.04"
|
|
config.vm.provider "virtualbox" do |vb|
|
|
vb.name = "ONOS-P4 Dev " + Time.now.strftime("(%Y-%m-%d)")
|
|
vb.gui = true
|
|
vb.cpus = 2
|
|
vb.memory = 4096
|
|
end
|
|
config.vm.hostname = "onos-p4-dev"
|
|
# By default vagrant creates a NAT interface.
|
|
# Create a second one host-only.
|
|
config.vm.network "private_network", :type => 'dhcp', :adapter => 2
|
|
config.vm.provision "shell", path: "root-bootstrap.sh"
|
|
end
|