Update install_pve7.sh

This commit is contained in:
spiritLHLS 2023-02-13 18:50:10 +08:00 committed by GitHub
parent 3f09d8977a
commit 9675030c04
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,7 +13,11 @@ fi
if ! command -v curl > /dev/null 2>&1; then
apt-get install -y curl
fi
if ! command -v ufw > /dev/null 2>&1; then
apt-get install -y ufw
fi
apt-get install gnupg -y
ufw disable
# 修改 /etc/hosts
ip=$(curl -s ipv4.ip.sb)