diff options
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; } |