summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEduardo Otubo <otubo@redhat.com>2020-12-01 15:51:47 +0100
committerGitHub <noreply@github.com>2020-12-01 09:51:47 -0500
commitf550c8765ca03d313e54edf35209b877ef3381ff (patch)
tree543ba015332cf97a3a774bc09ca222df53a8cecf /tests
parent2bd34bda9543c1b66f53eaf26706f0de887db187 (diff)
downloadvyos-cloud-init-f550c8765ca03d313e54edf35209b877ef3381ff.tar.gz
vyos-cloud-init-f550c8765ca03d313e54edf35209b877ef3381ff.zip
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 <otubo@redhat.com> Co-authored-by: Daniel Watkins <oddbloke@ubuntu.com> Co-authored-by: Scott Moser <smoser@brickies.net>
Diffstat (limited to 'tests')
-rw-r--r--tests/unittests/test_net.py2
1 files changed, 1 insertions, 1 deletions
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