The parameter either6 is introduced to dracut by
commit 67354eebbcd4c358b8194ba5fd1ab1cf7dbd42aa
Author: Pingfan Liu <piliu(a)redhat.com>
Date: Tue Apr 24 16:41:21 2018 +0800
40network: introduce ip=either6 option
But now, dracut has switched from network-legancy to network-manager, which
can not perceive 'either6' option, and accepts only either 'auto6' or
'dhcp6' parameter.
Take a look at either6 option, it tries its best to find a workable method
by using dhcp6 as the fallback of auto6. Actually, the NetworkManager
options ipv6.method=auto has achieved this goal.
When using auto6, NetworkManager will automatically start DHCPv6 if the
router announces to do so.
Naturally, switching from either6 to auto6 to adapt to change.
Signed-off-by: Pingfan Liu <piliu(a)redhat.com>
---
dracut-module-setup.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dracut-module-setup.sh b/dracut-module-setup.sh
index 5c41e63..ec1ccc5 100755
--- a/dracut-module-setup.sh
+++ b/dracut-module-setup.sh
@@ -373,7 +373,7 @@ kdump_install_net() {
if [ -n "$_static" ]; then
_proto=none
elif is_ipv6_address $_srcaddr; then
- _proto=either6
+ _proto=auto6
else
_proto=dhcp
fi
--
2.7.5