From f0a6cf49bd20ccb145f6a7a1d5e94532931a7f8f Mon Sep 17 00:00:00 2001 From: Dusty Mabe Date: Thu, 10 Mar 2022 09:57:19 -0500 Subject: [PATCH] Don't require NetworkManager-config-server This lays down a file that sets `no-auto-default=*`, which tells NetworkManager to not bring up any interfaces by default without explicit configuration. This causes networking to not be brought up at all if somehow no NM connection file got created. --- cloud-init.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cloud-init.spec b/cloud-init.spec index 3fa789e..74fbf31 100644 --- a/cloud-init.spec +++ b/cloud-init.spec @@ -1,6 +1,6 @@ Name: cloud-init Version: 22.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Cloud instance init scripts License: ASL 2.0 or GPLv3 URL: http://launchpad.net/cloud-init @@ -52,7 +52,6 @@ BuildRequires: python3-netifaces # https://bugs.launchpad.net/cloud-init/+bug/1721573 BuildRequires: /usr/bin/dnf -Requires: (NetworkManager-config-server if NetworkManager) Requires: hostname Requires: e2fsprogs Requires: iproute @@ -189,6 +188,9 @@ python3 -m pytest tests/unittests %changelog +* Thu Mar 10 2022 Dusty Mabe - 22.1-3 +- Drop requirement on NetworkManager-config-server + * Tue Feb 22 2022 Neal Gompa - 22.1-2 - Drop extra tests search in prep