NetworkManager/src/initrd
Beniamino Galvani 440a0b4078 initrd: set ipv6.method=auto when the autoconfiguration field is 'none'
The 7th field of:

 ip=<client-IP>:[<peer>]:<gateway-IP>:<netmask>:<client_hostname>:<interface>:{none|off|dhcp|on|any|dhcp6|auto6|ibft}:[:[<mtu>][:<macaddr>]]

specifies which kind of autoconfiguration to do. 'none' and 'off' mean
static addresses.

The old network module of dracut used to leave kernel IPv6
autoconfiguration enabled when IPv4 static addresses were
configured. With NM, this corresponds to enabling IPv6 auto method.

https://bugzilla.redhat.com/show_bug.cgi?id=1848943
(cherry picked from commit a39eb9ac14)
2020-06-24 14:54:50 +02:00
..
tests initrd: set ipv6.method=auto when the autoconfiguration field is 'none' 2020-06-24 14:54:50 +02:00
meson.build license: Add license using SPDX identifiers to meson build files 2020-02-17 13:16:57 +01:00
nm-initrd-generator.c keyfile: add NMKeyfileHandlerFlags 2020-06-05 09:17:21 +02:00
nm-initrd-generator.h initrd: save hostname to a file in /run 2020-05-06 10:32:25 +02:00
nmi-cmdline-reader.c initrd: set ipv6.method=auto when the autoconfiguration field is 'none' 2020-06-24 14:54:50 +02:00
nmi-dt-reader.c initrd: use nm_streq()/NM_IN_STRSET() instead of strcmp() 2020-06-03 18:00:05 +02:00
nmi-ibft-reader.c initrd: drop unused include of platform header 2020-06-03 18:08:37 +02:00