diff --git a/install_pve7.sh b/install_pve7.sh index 5a0e9e2..6012716 100644 --- a/install_pve7.sh +++ b/install_pve7.sh @@ -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)