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 422bcf2..5e00d99 100644 --- a/SPECS/cloud-init.spec +++ b/SPECS/cloud-init.spec @@ -7,7 +7,7 @@ Name: cloud-init Version: 18.5 -Release: 6%{?dist} +Release: 6%{?dist}.0.1 Summary: Cloud instance init scripts Group: System Environment/Base @@ -47,6 +47,7 @@ Patch20: ci-Fix-for-network-configuration-not-persisting-after-r.patch # For bz#1744526 - [cloud-init][OpenStack] cloud-init can't persist instance-data.json Patch21: ci-util-json.dumps-on-python-2.7-will-handle-UnicodeDec.patch +Patch9998: 9998-Enable-IPV6_AUTOCONF-if-ipv6.patch Patch9999: cloud-init-centos-user.patch # Deal with noarch -> arch