Update check_kernal.sh

This commit is contained in:
spiritLHLS 2023-02-26 20:51:02 +08:00 committed by GitHub
parent 486dc712d1
commit 228743e28c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,6 +33,7 @@ if [ "$(cat /sys/module/kvm_intel/parameters/nested)" = "Y" ]; then
fi
else
_yellow "本机操作系统不支持KVM硬件嵌套虚拟化使用PVE虚拟化出来的KVM服务器不能在选项中开启KVM硬件虚拟化记得在开出来的KVM服务器选项中关闭"
exit 1
fi
# 如果KVM模块未加载则加载KVM模块并将其添加到/etc/modules文件中