Load kvm module explicitly
Related-Prod: PRODX-00000
Change-Id: I3087f186d43580b75f1cd642838af8433138acaf
diff --git a/de/heat-templates/scripts/instance_boot.sh b/de/heat-templates/scripts/instance_boot.sh
index 8f77132..b1b54fe 100644
--- a/de/heat-templates/scripts/instance_boot.sh
+++ b/de/heat-templates/scripts/instance_boot.sh
@@ -330,6 +330,15 @@
fi
}
+function load_modules {
+ cat << EOF >> /etc/modprobe.d/qemu-system-x86.conf
+options kvm nested=1
+EOF
+
+modprobe kvm nested=1
+
+}
+
case "$NODE_TYPE" in
ucp)
@@ -370,6 +379,7 @@
install_required_packages
install_docker
network_config
+ load_modules
download_bundles
join_node worker
install_kubectl