05-ipv6.conf.j2 300 B

123456789101112131415
  1. #
  2. # sysfs: ipv6 settings / tuning
  3. #
  4. {% if ipv6_disabled %}
  5. net.ipv6.conf.all.disable_ipv6 = 1
  6. net.ipv6.conf.default.disable_ipv6 = 1
  7. {% else %}
  8. net.ipv6.conf.all.disable_ipv6 = 0
  9. net.ipv6.conf.default.disable_ipv6 = 0
  10. {% endif %}
  11. # Keep ipv6 enabled for loopback
  12. net.ipv6.conf.lo.disable_ipv6 = 0