From b3d6b189d7ee2bdb3bebfc1e54ed8bd9c8c52ac7 Mon Sep 17 00:00:00 2001 From: spiritLHLS <103393591+spiritLHLS@users.noreply.github.com> Date: Mon, 13 Feb 2023 19:47:11 +0800 Subject: [PATCH] Update install_pve7.sh --- install_pve7.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install_pve7.sh b/install_pve7.sh index d77623d..f2486a4 100644 --- a/install_pve7.sh +++ b/install_pve7.sh @@ -25,8 +25,8 @@ fi if [ "$ip_type" = "IPv6" ] && [ "$priority" -lt "100" ]; then echo "precedence ::/0 100" > /etc/gai.conf fi -# sysctl -w net.ipv6.conf.all.disable_ipv6=1 -# sysctl -w net.ipv6.conf.default.disable_ipv6=1 +sysctl -w net.ipv6.conf.all.disable_ipv6=1 +sysctl -w net.ipv6.conf.default.disable_ipv6=1 apt-get install gnupg -y if ! nc -z localhost 7789; then iptables -A INPUT -p tcp --dport 7789 -j ACCEPT