cloud-init/SOURCES/0004-sysconfig-Don-t-write-BOOTPROTO-dhcp-for-ipv6-dhcp.patch

37 lines
1.1 KiB
Diff
Raw Normal View History

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