|
|
f6265e |
From 1da1ea11647a60339d063e2d613e692d4bfd79bd Mon Sep 17 00:00:00 2001
|
|
|
f6265e |
From: Vitaly Kuznetsov <vkuznets@redhat.com>
|
|
|
f6265e |
Date: Thu, 26 Apr 2018 09:27:49 +0200
|
|
|
f6265e |
Subject: sysconfig: Don't disable IPV6_AUTOCONF
|
|
|
f6265e |
|
|
|
f6265e |
RH-Author: Vitaly Kuznetsov <vkuznets@redhat.com>
|
|
|
f6265e |
Message-id: <20180426092749.7251-2-vkuznets@redhat.com>
|
|
|
f6265e |
Patchwork-id: 79904
|
|
|
f6265e |
O-Subject: [RHEL7.6/7.5.z cloud-init PATCH 1/1] sysconfig: Don't disable IPV6_AUTOCONF
|
|
|
f6265e |
Bugzilla: 1578702
|
|
|
f6265e |
RH-Acked-by: Mohammed Gamal <mgamal@redhat.com>
|
|
|
f6265e |
RH-Acked-by: Cathy Avery <cavery@redhat.com>
|
|
|
f6265e |
RH-Acked-by: Eduardo Otubo <otubo@redhat.com>
|
|
|
f6265e |
|
|
|
f6265e |
Downstream-only commit 118458a3fb ("sysconfig: Don't write BOOTPROTO=dhcp
|
|
|
f6265e |
for ipv6 dhcp") did two things:
|
|
|
f6265e |
1) Disabled BOOTPROTO='dhcp' for dhcp6 setups. This change seems to be
|
|
|
f6265e |
correct as BOOTPROTO is unrelated to IPv6. The change was since merged
|
|
|
f6265e |
upstream (commit a57928d3c314d9568712cd190cb1e721e14c108b).
|
|
|
f6265e |
2) Explicitly disabled AUTOCONF and this broke many valid configurations
|
|
|
f6265e |
using it instead of DHCPV6C. Revert this part of the change. In case
|
|
|
f6265e |
DHCPV6C-only support is needed something like a new 'dhcpv6c_only'
|
|
|
f6265e |
network type needs to be suggested upstream.
|
|
|
f6265e |
|
|
|
f6265e |
X-downstream-only: yes
|
|
|
f6265e |
|
|
|
f6265e |
Resolves: rhbz#1558854
|
|
|
f6265e |
|
|
|
f6265e |
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
|
|
|
f6265e |
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
f6265e |
---
|
|
|
f6265e |
cloudinit/net/sysconfig.py | 1 -
|
|
|
f6265e |
1 file changed, 1 deletion(-)
|
|
|
f6265e |
|
|
|
f6265e |
diff --git a/cloudinit/net/sysconfig.py b/cloudinit/net/sysconfig.py
|
|
|
f6265e |
index ec166cf..ae0554e 100644
|
|
|
f6265e |
--- a/cloudinit/net/sysconfig.py
|
|
|
f6265e |
+++ b/cloudinit/net/sysconfig.py
|
|
|
f6265e |
@@ -310,7 +310,6 @@ class Renderer(renderer.Renderer):
|
|
|
f6265e |
if subnet_type == 'dhcp6':
|
|
|
f6265e |
iface_cfg['IPV6INIT'] = True
|
|
|
f6265e |
iface_cfg['DHCPV6C'] = True
|
|
|
f6265e |
- iface_cfg['IPV6_AUTOCONF'] = False
|
|
|
f6265e |
elif subnet_type in ['dhcp4', 'dhcp']:
|
|
|
f6265e |
iface_cfg['BOOTPROTO'] = 'dhcp'
|
|
|
f6265e |
elif subnet_type == 'static':
|
|
|
f6265e |
--
|
|
|
f6265e |
1.8.3.1
|
|
|
f6265e |
|