mirror of
https://github.com/oneclickvirt/pve.git
synced 2024-11-17 05:26:04 +08:00
Update install_pve7.sh
This commit is contained in:
parent
9f674ffaeb
commit
b3d6b189d7
1 changed files with 2 additions and 2 deletions
|
@ -25,8 +25,8 @@ fi
|
||||||
if [ "$ip_type" = "IPv6" ] && [ "$priority" -lt "100" ]; then
|
if [ "$ip_type" = "IPv6" ] && [ "$priority" -lt "100" ]; then
|
||||||
echo "precedence ::/0 100" > /etc/gai.conf
|
echo "precedence ::/0 100" > /etc/gai.conf
|
||||||
fi
|
fi
|
||||||
# sysctl -w net.ipv6.conf.all.disable_ipv6=1
|
sysctl -w net.ipv6.conf.all.disable_ipv6=1
|
||||||
# sysctl -w net.ipv6.conf.default.disable_ipv6=1
|
sysctl -w net.ipv6.conf.default.disable_ipv6=1
|
||||||
apt-get install gnupg -y
|
apt-get install gnupg -y
|
||||||
if ! nc -z localhost 7789; then
|
if ! nc -z localhost 7789; then
|
||||||
iptables -A INPUT -p tcp --dport 7789 -j ACCEPT
|
iptables -A INPUT -p tcp --dport 7789 -j ACCEPT
|
||||||
|
|
Loading…
Reference in a new issue