SHA256
1
0
forked from pool/cloud-init

- Add cloud-init-power-rhel-only.patch (bsc#1210273)

+ Config module cc_refresh_rmc_and_interface is implemented such that
    it will only work on RH distros. Set the module availability accordingly.

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=206
This commit is contained in:
Robert Schweikert 2023-04-27 12:24:25 +00:00 committed by Git OBS Bridge
parent 7037bc5725
commit 23246c72e5
3 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- cloudinit/config/cc_refresh_rmc_and_interface.py.orig
+++ cloudinit/config/cc_refresh_rmc_and_interface.py
@@ -42,7 +42,7 @@ meta: MetaSchema = {
"name": "Refresh IPv6 Interface and RMC",
"title": "Ensure Network Manager is not managing IPv6 interface",
"description": MODULE_DESCRIPTION,
- "distros": [ALL_DISTROS],
+ "distros": ["fedora", "rhel"],
"frequency": PER_ALWAYS,
"examples": [],
"activate_by_schema_keys": [],

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Apr 27 12:22:11 UTC 2023 - Robert Schweikert <rjschwei@suse.com>
- Add cloud-init-power-rhel-only.patch (bsc#1210273)
+ Config module cc_refresh_rmc_and_interface is implemented such that
it will only work on RH distros. Set the module availability accordingly.
-------------------------------------------------------------------
Thu Feb 23 13:38:43 UTC 2023 - Robert Schweikert <rjschwei@suse.com>

View File

@ -37,6 +37,8 @@ Patch4: cloud-init-no-tempnet-oci.patch
Patch5: cloud-init-fix-ca-test.patch
# FIXME (lp#1812117)
Patch6: cloud-init-write-routes.patch
# FIXME https://github.com/canonical/cloud-init/pull/2148
Patch7: cloud-init-power-rhel-only.patch
BuildRequires: fdupes
BuildRequires: filesystem
# pkg-config is needed to find correct systemd unit dir
@ -141,6 +143,7 @@ Documentation and examples for cloud-init tools
%patch4
%patch5
%patch6
%patch7
# patch in the full version to version.py
version_pys=$(find . -name version.py -type f)