From 6444a1dc5554400b83a044a123c4776c298dc865 Mon Sep 17 00:00:00 2001 From: spiritLHLS <103393591+spiritLHLS@users.noreply.github.com> Date: Mon, 24 Apr 2023 08:35:39 +0800 Subject: [PATCH] Update check_kernal.sh --- scripts/check_kernal.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/check_kernal.sh b/scripts/check_kernal.sh index f92c42f..94e21c7 100644 --- a/scripts/check_kernal.sh +++ b/scripts/check_kernal.sh @@ -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