RHEL9-CIS/templates/etc/sysctl.d/60-disable_ipv6.conf.j2
Mark Bolwell cd264db98f
#60 addressed for ipb6
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
Signed-off-by: Ionut Pruteanu <ionut.pruteanu@siemens.com>
2024-01-31 08:30:12 +02:00

7 lines
225 B
Django/Jinja

## This file is managed by Ansible, YOUR CHANGES WILL BE LOST!
# IPv6 disable
{% if rhel9cis_rule_3_1_1 and not rhel9cis_ipv6_required %}
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
{% endif %}