Verified Commit fc7c83cb authored by Antonio Cardace's avatar Antonio Cardace
Browse files

initrd: disable ipv6 when 'off|none' is set in the 'ip' option

This is potentially a breaking change, formerly speciyfing 'none|off'
in the kernel cmdline option 'ip' was understood by the dracut
network-module as doing 'ipv6.method=auto' which is clearly incosistent
with the 'off' naming, thus 'off|none' now means to actually disable
both ipv6 and ipv4 (unless a static ip is provided).

Unit test added.

https://bugzilla.redhat.com/show_bug.cgi?id=1883958

Reverts: 440a0b40

 ('initrd: set ipv6.method=auto when the autoconfiguration field is 'none'')
Signed-off-by: Antonio Cardace's avatarAntonio Cardace <acardace@redhat.com>
parent 96a3d664
Pipeline #211960 failed with stages
in 40 minutes and 8 seconds
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