Update install_pve7.sh

This commit is contained in:
spiritLHLS 2023-02-13 19:38:19 +08:00 committed by GitHub
parent af2b4cdf17
commit 2a20bd859a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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