sailesh1993 / rpms / cloud-init

Forked from rpms/cloud-init a year ago
Clone
fc6e82
From 699d37a6ff3e343e214943794aac09e4156c2b2b Mon Sep 17 00:00:00 2001
ea00c4
From: Eduardo Otubo <otubo@redhat.com>
fc6e82
Date: Fri, 7 May 2021 13:36:10 +0200
c1c26e
Subject: sysconfig: Don't write BOOTPROTO=dhcp for ipv6 dhcp
c1c26e
c1c26e
Don't write BOOTPROTO=dhcp for ipv6 dhcp, as BOOTPROTO applies
c1c26e
only to ipv4. Explicitly write IPV6_AUTOCONF=no for dhcp on ipv6.
c1c26e
c1c26e
X-downstream-only: yes
c1c26e
c1c26e
Resolves: rhbz#1519271
c1c26e
Signed-off-by: Ryan McCabe <rmccabe@redhat.com>
16d12a
16d12a
Merged patches (19.4):
16d12a
- 6444df4 sysconfig: Don't disable IPV6_AUTOCONF
ea00c4
ea00c4
Signed-off-by: Eduardo Otubo <otubo@redhat.com>
c1c26e
---
c1c26e
 tests/unittests/test_net.py | 1 +
16d12a
 1 file changed, 1 insertion(+)
c1c26e
c1c26e
diff --git a/tests/unittests/test_net.py b/tests/unittests/test_net.py
fc6e82
index c67b5fcc..4ea0e597 100644
c1c26e
--- a/tests/unittests/test_net.py
c1c26e
+++ b/tests/unittests/test_net.py
fc6e82
@@ -1729,6 +1729,7 @@ pre-down route del -net 10.0.0.0/8 gw 11.0.0.1 metric 3 || true
c1c26e
                 BOOTPROTO=none
c1c26e
                 DEVICE=bond0
c1c26e
                 DHCPV6C=yes
c1c26e
+                IPV6_AUTOCONF=no
c1c26e
                 IPV6INIT=yes
c1c26e
                 MACADDR=aa:bb:cc:dd:ee:ff
c1c26e
                 ONBOOT=yes
c1c26e
-- 
fc6e82
2.27.0
c1c26e