- 0011-Revert-Manual-revert-Use-Network-Manager-and-Netplan.patch - 0012-Revert-Revert-Add-native-NetworkManager-support-1224.patch - 0013-net-sysconfig-do-not-use-the-highest-autoconnect-pri.patch - 0014-net-sysconfig-cosmetic-fix-tox-formatting.patch - 0015-nm-generate-ipv6-stateful-dhcp-config-at-par-with-sy.patch [bz#2207716] - 0016-network_manager-add-a-method-for-ipv6-static-IP-conf.patch [bz#2196284] - 0017-net-sysconfig-enable-sysconfig-renderer-if-network-m.patch [bz#2194050] - 0018-network-manager-Set-higher-autoconnect-priority-for-.patch [bz#2196231] - 0019-Set-default-renderer-as-sysconfig-for-c9s-RHEL-9.patch [bz#2209349] - Resolves: bz#2118235 bz#2194050 bz#2196231 bz#2196284 bz#2207716 bz#2209349
32 lines
1.1 KiB
Diff
32 lines
1.1 KiB
Diff
From 018aa09f049791755dd746b533abb2464b08a92d Mon Sep 17 00:00:00 2001
|
|
From: Ani Sinha <anisinha@redhat.com>
|
|
Date: Mon, 22 May 2023 21:33:53 +0530
|
|
Subject: [PATCH] network_manager: add a method for ipv6 static IP
|
|
configuration (#4127)
|
|
|
|
The static IP configuration for IPv6 in the method_map is missing for
|
|
network manager renderer. This is causing cloud-init to generate a keyfile with
|
|
IPv6 method as "auto" instead of "manual". This fixes this issue.
|
|
|
|
fixes: #4126
|
|
RHBZ: 2196284
|
|
|
|
Signed-off-by: Ani Sinha <anisinha@redhat.com>
|
|
(cherry picked from commit 5d440856cb6d2b4c908015fe4eb7227615c17c8b)
|
|
---
|
|
cloudinit/net/network_manager.py | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/cloudinit/net/network_manager.py b/cloudinit/net/network_manager.py
|
|
index 744c0cbb..2752f52f 100644
|
|
--- a/cloudinit/net/network_manager.py
|
|
+++ b/cloudinit/net/network_manager.py
|
|
@@ -69,6 +69,7 @@ class NMConnection:
|
|
|
|
method_map = {
|
|
"static": "manual",
|
|
+ "static6": "manual",
|
|
"dhcp6": "auto",
|
|
"ipv6_slaac": "auto",
|
|
"ipv6_dhcpv6-stateless": "auto",
|