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:
parent
931d843fe3
commit
5077c87217
15
cloud-init-prefer-nm.patch
Normal file
15
cloud-init-prefer-nm.patch
Normal 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",
|
@ -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>
|
Thu Dec 22 18:10:45 UTC 2022 - Robert Schweikert <rjschwei@suse.com>
|
||||||
|
|
||||||
|
@ -41,6 +41,8 @@ Patch6: cloud-init-btrfs-queue-resize.patch
|
|||||||
Patch7: cloud-init-micro-is-suse.patch
|
Patch7: cloud-init-micro-is-suse.patch
|
||||||
# FIXME https://github.com/canonical/cloud-init/pull/1983
|
# FIXME https://github.com/canonical/cloud-init/pull/1983
|
||||||
Patch8: cloud-init-suse-afternm.patch
|
Patch8: cloud-init-suse-afternm.patch
|
||||||
|
# FIXME: https://github.com/canonical/cloud-init/pull/1435
|
||||||
|
Patch9: cloud-init-prefer-nm.patch
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: filesystem
|
BuildRequires: filesystem
|
||||||
# pkg-config is needed to find correct systemd unit dir
|
# pkg-config is needed to find correct systemd unit dir
|
||||||
@ -149,6 +151,7 @@ Documentation and examples for cloud-init tools
|
|||||||
%patch6
|
%patch6
|
||||||
%patch7
|
%patch7
|
||||||
%patch8
|
%patch8
|
||||||
|
%patch9
|
||||||
|
|
||||||
|
|
||||||
# patch in the full version to version.py
|
# patch in the full version to version.py
|
||||||
|
Loading…
Reference in New Issue
Block a user