diff options
-rw-r--r-- | kud/README.md | 2 | ||||
-rw-r--r-- | kud/hosting_providers/vagrant/Vagrantfile | 9 |
2 files changed, 7 insertions, 4 deletions
diff --git a/kud/README.md b/kud/README.md index 20640424..99805c3c 100644 --- a/kud/README.md +++ b/kud/README.md @@ -6,7 +6,7 @@ This project offers a means for deploying a Kubernetes cluster that satisfies the requirements of [ONAP multicloud/k8s plugin][1]. Its ansible playbooks allow to provision a deployment on Virtual Machines and on Baremetal. -![Diagram](../../../docs/img/diagram.png) +![Diagram](../docs/img/diagram.png) # Components diff --git a/kud/hosting_providers/vagrant/Vagrantfile b/kud/hosting_providers/vagrant/Vagrantfile index 105c7e99..83ac68c2 100644 --- a/kud/hosting_providers/vagrant/Vagrantfile +++ b/kud/hosting_providers/vagrant/Vagrantfile @@ -69,6 +69,12 @@ Vagrant.configure("2") do |config| config.proxy.enabled = { docker: false } end end + config.vm.provider 'libvirt' do |v| + v.nested = true + v.cpu_mode = 'host-passthrough' + v.management_network_address = "192.168.121.0/27" + v.random_hostname = true + end nodes.each do |node| config.vm.define node['name'] do |nodeconfig| @@ -90,9 +96,6 @@ Vagrant.configure("2") do |config| nodeconfig.vm.provider 'libvirt' do |v| v.memory = node['memory'] v.cpus = node['cpus'] - v.nested = true - v.cpu_mode = 'host-passthrough' - v.management_network_address = "192.168.121.0/27" nodeconfig.vm.provision 'shell' do |sh| sh.path = "node.sh" if node.has_key? "volumes" |