6af34f
From 02e7b89c157f8c3243f0d91cf5652cf27db44b72 Mon Sep 17 00:00:00 2001
6af34f
From: Emanuele Giuseppe Esposito <eesposit@redhat.com>
6af34f
Date: Mon, 8 Aug 2022 10:10:26 +0200
6af34f
Subject: [PATCH 2/2] Revert "Use Network-Manager and Netplan as default
6af34f
 renderers for RHEL and Fedora (#1465)"
6af34f
6af34f
RH-Author: Emanuele Giuseppe Esposito <eesposit@redhat.com>
6af34f
RH-MergeRequest: 81: Revert "Use Network-Manager and Netplan as default renderers for RHEL and Fedora (#1465)"
6af34f
RH-Commit: [2/2] 746b2e33356376e250b799261031676174e8ccc9
6af34f
RH-Bugzilla: 2107464 2110066 2117526 2104393 2098624
6af34f
RH-Acked-by: Eduardo Otubo <otubo@redhat.com>
6af34f
RH-Acked-by: Vitaly Kuznetsov <vkuznets@redhat.com>
6af34f
RH-Acked-by: Mohamed Gamal Morsy <mmorsy@redhat.com>
6af34f
6af34f
As NM is reverted, remove also documentation and any trace of it.
6af34f
This reverts commit 13ded463a6a0b1b0bf0dffc0a997f006dd25c4f3.
6af34f
6af34f
Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
6af34f
---
6af34f
 config/cloud.cfg.tmpl             |  3 ---
6af34f
 doc/rtd/topics/network-config.rst | 12 +-----------
6af34f
 2 files changed, 1 insertion(+), 14 deletions(-)
6af34f
6af34f
diff --git a/config/cloud.cfg.tmpl b/config/cloud.cfg.tmpl
6af34f
index f4d2fd14..80ab4f96 100644
6af34f
--- a/config/cloud.cfg.tmpl
6af34f
+++ b/config/cloud.cfg.tmpl
6af34f
@@ -353,7 +353,4 @@ system_info:
6af34f
 {% elif variant in ["dragonfly"] %}
6af34f
    network:
6af34f
       renderers: ['freebsd']
6af34f
-{% elif variant in ["rhel", "fedora"] %}
6af34f
-   network:
6af34f
-      renderers: ['netplan', 'network-manager', 'networkd', 'sysconfig', 'eni']
6af34f
 {% endif %}
6af34f
diff --git a/doc/rtd/topics/network-config.rst b/doc/rtd/topics/network-config.rst
6af34f
index f503caab..c461a3fe 100644
6af34f
--- a/doc/rtd/topics/network-config.rst
6af34f
+++ b/doc/rtd/topics/network-config.rst
6af34f
@@ -188,15 +188,6 @@ generated configuration into an internal network configuration state. From
6af34f
 this state `Cloud-init`_ delegates rendering of the configuration to Distro
6af34f
 supported formats.  The following ``renderers`` are supported in cloud-init:
6af34f
 
6af34f
-- **NetworkManager**
6af34f
-
6af34f
-`NetworkManager <https://networkmanager.dev>`_ is the standard Linux network
6af34f
-configuration tool suite. It supports a wide range of networking setups.
6af34f
-Configuration is typically stored in ``/etc/NetworkManager``.
6af34f
-
6af34f
-It is the default for a number of Linux distributions, notably Fedora;
6af34f
-CentOS/RHEL; and derivatives.
6af34f
-
6af34f
 - **ENI**
6af34f
 
6af34f
 /etc/network/interfaces or ``ENI`` is supported by the ``ifupdown`` package
6af34f
@@ -224,7 +215,6 @@ is as follows:
6af34f
 - ENI
6af34f
 - Sysconfig
6af34f
 - Netplan
6af34f
-- NetworkManager
6af34f
 
6af34f
 When applying the policy, `Cloud-init`_ checks if the current instance has the
6af34f
 correct binaries and paths to support the renderer.  The first renderer that
6af34f
@@ -233,7 +223,7 @@ supplying an updated configuration in cloud-config. ::
6af34f
 
6af34f
   system_info:
6af34f
     network:
6af34f
-      renderers: ['netplan', 'network-manager', 'eni', 'sysconfig', 'freebsd', 'netbsd', 'openbsd']
6af34f
+      renderers: ['netplan', 'eni', 'sysconfig', 'freebsd', 'netbsd', 'openbsd']
6af34f
 
6af34f
 
6af34f
 Network Configuration Tools
6af34f
-- 
6af34f
2.27.0
6af34f