From 8f0bc42ea9614d3be4ee823bb187f5dcc2ef2d8b Mon Sep 17 00:00:00 2001 From: Victor Morales Date: Mon, 1 Oct 2018 08:49:07 -0700 Subject: Enable Nested Virtualization in Nodes Compute nodes require to enable Nested-Virtualization to smooth the provisioning of Virtual Machines using Virtlet Kubernetes Add. This change includes the instructions to enable it in the Nodes. Change-Id: I61d13ebbdbc0abc208042dde56d4d6b498570955 Signed-off-by: Victor Morales Issue-ID: MULTICLOUD-301 --- vagrant/node.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vagrant/node.sh b/vagrant/node.sh index e6702457..5edc3a3c 100755 --- a/vagrant/node.sh +++ b/vagrant/node.sh @@ -53,3 +53,7 @@ if [[ -n "${dict_volumes+x}" ]]; then mount_external_partition ${kv%=*} ${kv#*=} done fi +rmmod kvm-intel +echo 'options kvm-intel nested=y' >> /etc/modprobe.d/dist.conf +modprobe kvm-intel +grep -q -i ^Y$ /sys/module/kvm_intel/parameters/nested || { echo "Nested virtualization is not enabled"; exit 1; } -- cgit 1.2.3-korg