automate/010_disable-ipv6.sh

8 lines
157 B
Bash

cat > /etc/sysctl.conf <<EOF
# Disable IPV6
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
EOF