From 2a20bd859a8a1095fbfcc36767039c87d9c9e5f8 Mon Sep 17 00:00:00 2001 From: spiritLHLS <103393591+spiritLHLS@users.noreply.github.com> Date: Mon, 13 Feb 2023 19:38:19 +0800 Subject: [PATCH] Update install_pve7.sh --- install_pve7.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install_pve7.sh b/install_pve7.sh index e188204..55b8355 100644 --- a/install_pve7.sh +++ b/install_pve7.sh @@ -21,6 +21,8 @@ if [ $current_priority != "4" ]; then else echo "The network priority is already set to IPv4." fi +# sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1 +# sudo 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