Commit 59b80cf6 authored by Vitaly Lipatov's avatar Vitaly Lipatov

tune_new_system.sh: add tuning for IPv6 tempaddr (eterbug #14600)

parent 0553e35f
......@@ -131,4 +131,12 @@ if [ -f /etc/net/ifaces/e*/options ] ; then
subst "s|^NM_CONTROLLED=yes|NM_CONTROLLED=no|" /etc/net/ifaces/e*/options
subst "s|^DISABLED=yes|DISABLED=no|" /etc/net/ifaces/e*/options
fi
if [ ! -f /etc/sysctl.d/40-tempaddr-ipv6.conf ] ; then
cat <<EOF > /etc/sysctl.d/40-tempaddr-ipv6.conf
# Enable IPv6 Privacy Extensions
# see https://bugs.etersoft.ru/show_bug.cgi?id=14600#c5
net.ipv6.conf.all.use_tempaddr = 2
net.ipv6.conf.default.use_tempaddr = 2
EOF
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment