diff options
author | Victor Morales <victor.morales@intel.com> | 2018-10-03 15:07:16 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-10-03 15:07:16 +0000 |
commit | 373ab2024543a1d3c0d025715e80c3755995d6b5 (patch) | |
tree | fc38d6d1ba7c7caf8f9d9faeb62274c9b16d8c02 /vagrant/node.sh | |
parent | 3d18e1efb262fb6619f139ac640dac795dcf0d54 (diff) | |
parent | 8f0bc42ea9614d3be4ee823bb187f5dcc2ef2d8b (diff) |
Merge "Enable Nested Virtualization in Nodes"
Diffstat (limited to 'vagrant/node.sh')
-rwxr-xr-x | vagrant/node.sh | 4 |
1 files changed, 4 insertions, 0 deletions
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; } |