SHA256
1
0
forked from pool/cloud-init

- Add cloud-init-prefer-nm.patch

+ Prefer NetworkManager of sysconfig when available

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=198
This commit is contained in:
Robert Schweikert 2023-02-01 20:04:16 +00:00 committed by Git OBS Bridge
parent 931d843fe3
commit 5077c87217
3 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,15 @@
--- cloudinit/net/renderers.py.orig
+++ cloudinit/net/renderers.py
@@ -27,10 +27,10 @@ NAME_TO_RENDERER = {
}
DEFAULT_PRIORITY = [
- "eni",
- "sysconfig",
"netplan",
"network-manager",
+ "eni",
+ "sysconfig",
"freebsd",
"netbsd",
"openbsd",

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jan 31 19:47:23 UTC 2023 - Robert Schweikert <rjschwei@suse.com>
- Add cloud-init-prefer-nm.patch
+ Prefer NetworkManager of sysconfig when available
-------------------------------------------------------------------
Thu Dec 22 18:10:45 UTC 2022 - Robert Schweikert <rjschwei@suse.com>

View File

@ -41,6 +41,8 @@ Patch6: cloud-init-btrfs-queue-resize.patch
Patch7: cloud-init-micro-is-suse.patch
# FIXME https://github.com/canonical/cloud-init/pull/1983
Patch8: cloud-init-suse-afternm.patch
# FIXME: https://github.com/canonical/cloud-init/pull/1435
Patch9: cloud-init-prefer-nm.patch
BuildRequires: fdupes
BuildRequires: filesystem
# pkg-config is needed to find correct systemd unit dir
@ -149,6 +151,7 @@ Documentation and examples for cloud-init tools
%patch6
%patch7
%patch8
%patch9
# patch in the full version to version.py