From aa7d02aab0652004360ad093cf637c04aa6b16bf Mon Sep 17 00:00:00 2001 From: Pablo Greco Date: Jun 24 2020 15:10:22 +0000 Subject: Don't remove IPV6_AUTOCONF, we need it --- diff --git a/SOURCES/9998-Enable-IPV6_AUTOCONF-if-ipv6.patch b/SOURCES/9998-Enable-IPV6_AUTOCONF-if-ipv6.patch new file mode 100644 index 0000000..c3b8b20 --- /dev/null +++ b/SOURCES/9998-Enable-IPV6_AUTOCONF-if-ipv6.patch @@ -0,0 +1,25 @@ +From e659b80b25455b5ac53b6453c78fabf5d2caff30 Mon Sep 17 00:00:00 2001 +From: rpm-build +Date: Tue, 28 Apr 2020 18:10:46 -0300 +Subject: [PATCH] Enable IPV6_AUTOCONF if ipv6 + +--- + cloudinit/net/sysconfig.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/cloudinit/net/sysconfig.py b/cloudinit/net/sysconfig.py +index d94c1f5..be47514 100644 +--- a/cloudinit/net/sysconfig.py ++++ b/cloudinit/net/sysconfig.py +@@ -673,7 +673,7 @@ class Renderer(renderer.Renderer): + netcfg.extend([_make_header(), 'NETWORKING=yes']) + if network_state.use_ipv6: + netcfg.append('NETWORKING_IPV6=yes') +- netcfg.append('IPV6_AUTOCONF=no') ++ netcfg.append('IPV6_AUTOCONF=yes') + util.write_file(sysconfig_path, + "\n".join(netcfg) + "\n", file_mode) + +-- +2.26.2 + diff --git a/SPECS/cloud-init.spec b/SPECS/cloud-init.spec index 544add5..b22cc59 100644 --- a/SPECS/cloud-init.spec +++ b/SPECS/cloud-init.spec @@ -7,7 +7,7 @@ Name: cloud-init Version: 18.5 -Release: 6%{?dist}.5 +Release: 6%{?dist}.5.0.1 Summary: Cloud instance init scripts Group: System Environment/Base @@ -69,6 +69,7 @@ Patch31: ci-ec2-Add-support-for-AWS-IMDS-v2-session-oriented-55.patch # For bz#1832177 - [Azure] cloud-init provisioning failed in Azure [rhel-7.8.z] Patch32: ci-url_helper-read_file_or_url-should-pass-headers-para.patch +Patch9998: 9998-Enable-IPV6_AUTOCONF-if-ipv6.patch Patch9999: cloud-init-centos-user.patch