]> git.ipfire.org Git - thirdparty/dracut.git/commit
40network: introduce ip=either6 option
authorPingfan Liu <piliu@redhat.com>
Tue, 24 Apr 2018 08:41:21 +0000 (16:41 +0800)
committerHarald Hoyer <harald@hoyer.xyz>
Tue, 29 May 2018 08:07:19 +0000 (10:07 +0200)
commit67354eebbcd4c358b8194ba5fd1ab1cf7dbd42aa
treef7c533caddcff514024a0e2d5fdc0f833f2a9bb3
parentf6e777ec4b1031b18b835cd34ed644ebf4a2ace6
40network: introduce ip=either6 option

In kdump, if dump-target is ssh on ipv6, we need to sync until ipv6 addr
is ready. Currently ip=auto6/dhcp6 provides such function. But in 1st kernel,
it is hard to know whether the ipv6 addr is got by dhcpv6 or SLAAC.
E.g ifcfg-eth* contains DHCPV6C=yes direction, but there is no dhcpv6
server in the network, and then after the system is up, the user
echo 1 > /proc/sys/net/ipv6/conf/eth0/autoconf && accept_ra by manual
to obtain a ipv6 addr. Or vice.
So this patch suggests to make dhcpv6 as auto6 fallback

Signed-off-by: Pingfan Liu <piliu@redhat.com>
dracut.cmdline.7.asc
modules.d/40network/ifup.sh
modules.d/40network/net-lib.sh
modules.d/40network/parse-ip-opts.sh