Commit 37af8ae0 authored by John Hackett's avatar John Hackett

Removed private network, customised slightly managed network

parent 53f9a9aa
# This guide is optimized for Vagrant 1.7 and above.
## This guide is optimized for Vagrant 1.7 and above.
# Although versions 1.6.x should behave very similarly, it is recommended
# to upgrade instead of disabling the requirement below.
Vagrant.require_version ">= 1.7.0"
Vagrant.configure(2) do |config|
config.vm.box = "debian/jessie64"
config.vm.box = "debian/stretch64"
# Disable the new default behavior introduced in Vagrant 1.7, to
# ensure that all Vagrant machines will use the same SSH key pair.
......@@ -17,20 +17,22 @@ Vagrant.configure(2) do |config|
domain.cpus = 2
domain.nested = true
domain.volume_cache = 'none'
# domain.management_network_mode = 'route'
domain.management_network_address = "192.168.3.0/24"
domain.management_network_name = 'opennebula'
end
#config.vm.network "public_network", bridge: "Broadcom BCM5709C", adapter: "1", ip: "192.168.x.xx", hostname: "one"
config.vm.define :one do |onenet|
onenet.vm.hostname = "one"
onenet.vm.network :public_network,
:mode => "private",
:dev => "virbr1",
# :type => "bridge",
# :mgmt_attach => true,
# :management_network_address => "192.168.0.0/16",
:mac => "52:54:00:40:b6:14"
# :adapter => 1
# onenet.vm.network :private_network,
# :management_network_mode => "route",
# :management_network_address => "192.168.0.0/16",
# :management_network_name => "opennebula0",
# :mgmt_attach => false,
# :netmask => "255.255.0.0"
# :ip => "192.168.2.3",
# :libvirt__dhcp_enabled => false,
# :libvirt__forward_mode => "route"
end
# config.vm.define :two do |onenet|
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment