Update install_pve.sh

This commit is contained in:
spiritlhl 2023-06-20 21:21:39 +08:00 committed by GitHub
parent 66f48b97c5
commit 1cdfb31377
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,6 +25,7 @@ if [ "$(id -u)" != "0" ]; then
exit 1
fi
apt-get update -y
apt-get upgrade -y systemd
if [ $? -ne 0 ]; then
dpkg --configure -a
apt-get update -y
@ -391,5 +392,3 @@ url="https://${ip}:8006/"
_green "安装完毕请打开HTTPS网页 $url"
_green "用户名、密码就是服务器所使用的用户名、密码(如root和root用户的密码)"
_green "如果登录无误请不要急着重启系统,去执行预配置环境的命令后再重启系统"