RHEL9-CIS/templates/etc/sysctl.d/60-disable_ipv6.conf.j2

8 lines
221 B
Text
Raw Normal View History

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