From f550c8765ca03d313e54edf35209b877ef3381ff Mon Sep 17 00:00:00 2001 From: Eduardo Otubo Date: Tue, 1 Dec 2020 15:51:47 +0100 Subject: Adding BOOTPROTO = dhcp to render sysconfig dhcp6 stateful on RHEL (#685) BOOTPROTO needs to be set to 'dhcp' on RHEL so NetworkManager can properly acquire ipv6 address. rhbz: #1859695 Signed-off-by: Eduardo Otubo Co-authored-by: Daniel Watkins Co-authored-by: Scott Moser --- tests/unittests/test_net.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/unittests') diff --git a/tests/unittests/test_net.py b/tests/unittests/test_net.py index 70453683..8b34e0c9 100644 --- a/tests/unittests/test_net.py +++ b/tests/unittests/test_net.py @@ -1365,7 +1365,7 @@ NETWORK_CONFIGS = { }, 'expected_sysconfig_rhel': { 'ifcfg-iface0': textwrap.dedent("""\ - BOOTPROTO=none + BOOTPROTO=dhcp DEVICE=iface0 DHCPV6C=yes IPV6INIT=yes -- cgit v1.2.3