Update check_kernal.sh

This commit is contained in:
spiritLHLS 2023-02-26 11:38:15 +08:00 committed by GitHub
parent 53a042a6aa
commit 68e76a3f58
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,7 +36,8 @@ fi
# 如果KVM模块未加载则加载KVM模块并将其添加到/etc/modules文件中
if ! lsmod | grep -q kvm; then
_yellow "尝试加载KVM模块……"
modprobe kvm
echo "kvm" >> /etc/modules
_green "KVM模块已加载并添加到 /etc/modules可以使用PVE虚拟化KVM服务器也可以开LXC服务器(CT)"
_green "KVM模块已加载并添加到 /etc/modules可以尝试使用PVE虚拟化KVM服务器也可以开LXC服务器(CT)"
fi