mirror of
https://github.com/thelittlerocket/pve.git
synced 2025-02-01 02:29:01 +08:00
Update install_pve.sh
This commit is contained in:
parent
fe5531663a
commit
5aa07aa303
1 changed files with 2 additions and 1 deletions
|
@ -355,7 +355,8 @@ fi
|
|||
apt-get install gnupg -y
|
||||
if [ $(uname -m) != "x86_64" ] || [ ! -f /etc/debian_version ] || [ $(grep MemTotal /proc/meminfo | awk '{print $2}') -lt 2000000 ] || [ $(grep -c ^processor /proc/cpuinfo) -lt 2 ] || [ $(ping -c 3 google.com > /dev/null 2>&1; echo $?) -ne 0 ]; then
|
||||
_red "Error: This system does not meet the minimum requirements for Proxmox VE installation."
|
||||
reading "是否要继续安装(非Debian系或不满足最低的配置安装要求会爆上面这个警告)?(回车则默认不继续安装) [y/n] " confirm
|
||||
_yellow "Do you want to continue the installation? (Enter to not continue the installation by default) (y/[n])"
|
||||
reading "是否要继续安装?(回车则默认不继续安装) (y/[n]) " confirm
|
||||
echo ""
|
||||
if [ "$confirm" != "y" ]; then
|
||||
exit 1
|
||||
|
|
Loading…
Reference in a new issue