From 9675030c04726e5cba33082820645a2c882622e6 Mon Sep 17 00:00:00 2001 From: spiritLHLS <103393591+spiritLHLS@users.noreply.github.com> Date: Mon, 13 Feb 2023 18:50:10 +0800 Subject: [PATCH] Update install_pve7.sh --- install_pve7.sh | 4 ++++ 1 file changed, 4 insertions(+) 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)