forked from pool/cloud-init
Robert Schweikert
fafa1082aa
+ Add necessary import statement - Enable flake8 linting, fix up patches + cloud-init-cve-2023-1786-redact-instance-data-json-main.patch + cloud-init-power-rhel-only.patch + cloud-init-write-routes.patch + datasourceLocalDisk.patch OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=209
20 lines
756 B
Diff
20 lines
756 B
Diff
--- cloudinit/config/cc_refresh_rmc_and_interface.py.orig
|
|
+++ cloudinit/config/cc_refresh_rmc_and_interface.py
|
|
@@ -15,7 +15,6 @@ from cloudinit import netinfo, subp, uti
|
|
from cloudinit.cloud import Cloud
|
|
from cloudinit.config import Config
|
|
from cloudinit.config.schema import MetaSchema
|
|
-from cloudinit.distros import ALL_DISTROS
|
|
from cloudinit.settings import PER_ALWAYS
|
|
|
|
MODULE_DESCRIPTION = """\
|
|
@@ -42,7 +41,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": [],
|