sailesh1993 / rpms / cloud-init

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