sailesh1993 / rpms / cloud-init

Forked from rpms/cloud-init a year ago
Clone
Pablo Greco 0908a0
From e659b80b25455b5ac53b6453c78fabf5d2caff30 Mon Sep 17 00:00:00 2001
Pablo Greco 0908a0
From: rpm-build <rpm-build>
Pablo Greco 0908a0
Date: Tue, 28 Apr 2020 18:10:46 -0300
Pablo Greco 0908a0
Subject: [PATCH] Enable IPV6_AUTOCONF if ipv6
Pablo Greco 0908a0
Pablo Greco 0908a0
---
Pablo Greco 0908a0
 cloudinit/net/sysconfig.py | 2 +-
Pablo Greco 0908a0
 1 file changed, 1 insertion(+), 1 deletion(-)
Pablo Greco 0908a0
Pablo Greco 0908a0
diff --git a/cloudinit/net/sysconfig.py b/cloudinit/net/sysconfig.py
Pablo Greco 0908a0
index d94c1f5..be47514 100644
Pablo Greco 0908a0
--- a/cloudinit/net/sysconfig.py
Pablo Greco 0908a0
+++ b/cloudinit/net/sysconfig.py
Pablo Greco 0908a0
@@ -673,7 +673,7 @@ class Renderer(renderer.Renderer):
Pablo Greco 0908a0
             netcfg.extend([_make_header(), 'NETWORKING=yes'])
Pablo Greco 0908a0
             if network_state.use_ipv6:
Pablo Greco 0908a0
                 netcfg.append('NETWORKING_IPV6=yes')
Pablo Greco 0908a0
-                netcfg.append('IPV6_AUTOCONF=no')
Pablo Greco 0908a0
+                netcfg.append('IPV6_AUTOCONF=yes')
Pablo Greco 0908a0
             util.write_file(sysconfig_path,
Pablo Greco 0908a0
                             "\n".join(netcfg) + "\n", file_mode)
Pablo Greco 0908a0
 
Pablo Greco 0908a0
-- 
Pablo Greco 0908a0
2.26.2
Pablo Greco 0908a0