sailesh1993 / rpms / cloud-init

Forked from rpms/cloud-init a year ago
Clone
8a7340
From e2b22710db558df261883eaf5dde866c69ba17dd Mon Sep 17 00:00:00 2001
18322d
From: Miroslav Rezanina <mrezanin@redhat.com>
18322d
Date: Thu, 31 May 2018 20:00:32 +0200
18322d
Subject: sysconfig: Don't write BOOTPROTO=dhcp for ipv6 dhcp
18322d
18322d
Don't write BOOTPROTO=dhcp for ipv6 dhcp, as BOOTPROTO applies
18322d
only to ipv4. Explicitly write IPV6_AUTOCONF=no for dhcp on ipv6.
18322d
18322d
X-downstream-only: yes
18322d
18322d
Resolves: rhbz#1519271
18322d
Signed-off-by: Ryan McCabe <rmccabe@redhat.com>
8a7340
8a7340
Merged patches (19.4):
8a7340
- 6444df4 sysconfig: Don't disable IPV6_AUTOCONF
18322d
---
18322d
 tests/unittests/test_net.py | 1 +
8a7340
 1 file changed, 1 insertion(+)
18322d
18322d
diff --git a/tests/unittests/test_net.py b/tests/unittests/test_net.py
8a7340
index a931a3e..1306a0f 100644
18322d
--- a/tests/unittests/test_net.py
18322d
+++ b/tests/unittests/test_net.py
8a7340
@@ -1483,6 +1483,7 @@ pre-down route del -net 10.0.0.0/8 gw 11.0.0.1 metric 3 || true
18322d
                 BOOTPROTO=none
18322d
                 DEVICE=bond0
18322d
                 DHCPV6C=yes
18322d
+                IPV6_AUTOCONF=no
18322d
                 IPV6INIT=yes
18322d
                 MACADDR=aa:bb:cc:dd:ee:ff
18322d
                 ONBOOT=yes
18322d
-- 
8a7340
1.8.3.1
18322d