mirror of
https://github.com/oneclickvirt/pve.git
synced 2024-11-11 01:33:51 +08:00
Update check_kernal.sh
This commit is contained in:
parent
53a042a6aa
commit
68e76a3f58
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue