mirror of
https://github.com/thelittlerocket/pve.git
synced 2025-02-01 10:38:22 +08:00
Update check_kernal.sh
This commit is contained in:
parent
bc6bf221bd
commit
6444a1dc55
1 changed files with 3 additions and 0 deletions
|
@ -6,6 +6,9 @@ _red() { echo -e "\033[31m\033[01m$@\033[0m"; }
|
|||
_green() { echo -e "\033[32m\033[01m$@\033[0m"; }
|
||||
_yellow() { echo -e "\033[33m\033[01m$@\033[0m"; }
|
||||
_blue() { echo -e "\033[36m\033[01m$@\033[0m"; }
|
||||
export LC_ALL=en_US.utf8
|
||||
export LANG=en_US.utf8
|
||||
|
||||
|
||||
# 检查CPU是否支持硬件虚拟化
|
||||
if [ "$(egrep -c '(vmx|svm)' /proc/cpuinfo)" -eq 0 ]; then
|
||||
|
|
Loading…
Reference in a new issue