From 014a0ac52a84c0314a5d450a408b55680c1f988e Mon Sep 17 00:00:00 2001 From: Lukas Nykryn Date: Thu, 22 Aug 2024 13:42:11 +0200 Subject: [PATCH] netif-naming-scheme: rename rhel-10.0 to rhel-10.0.beta rhel-only: policy Related: RHEL-55728 --- man/systemd.net-naming-scheme.xml | 6 +++--- man/version-info.xml | 1 + src/shared/netif-naming-scheme.c | 2 +- src/shared/netif-naming-scheme.h | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/man/systemd.net-naming-scheme.xml b/man/systemd.net-naming-scheme.xml index 8c2979f420..18c1d95a74 100644 --- a/man/systemd.net-naming-scheme.xml +++ b/man/systemd.net-naming-scheme.xml @@ -542,15 +542,15 @@ - rhel-10.0 + rhel-10.0-beta Same as naming scheme v255. - + - By default rhel-10.0 is used. + By default rhel-10.0-beta is used. RHEL-9 schemes diff --git a/man/version-info.xml b/man/version-info.xml index 325f6eaa3e..c1138dfe22 100644 --- a/man/version-info.xml +++ b/man/version-info.xml @@ -106,6 +106,7 @@ Added in rhel-9.8. Added in rhel-9.9. Added in rhel-9.10. + Added in rhel-10.0-beta. Added in rhel-10.0. Added in rhel-10.1. Added in rhel-10.2. diff --git a/src/shared/netif-naming-scheme.c b/src/shared/netif-naming-scheme.c index 553ad13269..45646af6a6 100644 --- a/src/shared/netif-naming-scheme.c +++ b/src/shared/netif-naming-scheme.c @@ -42,7 +42,7 @@ static const NamingScheme naming_schemes[] = { { "rhel-9.3", NAMING_RHEL_9_3 }, { "rhel-9.4", NAMING_RHEL_9_4 }, { "rhel-9.5", NAMING_RHEL_9_5 }, - { "rhel-10.0", NAMING_RHEL_10_0 }, + { "rhel-10.0-beta", NAMING_RHEL_10_0_BETA }, /* … add more schemes here, as the logic to name devices is updated … */ EXTRA_NET_NAMING_MAP diff --git a/src/shared/netif-naming-scheme.h b/src/shared/netif-naming-scheme.h index 35ab0a98da..c511ee86f5 100644 --- a/src/shared/netif-naming-scheme.h +++ b/src/shared/netif-naming-scheme.h @@ -85,7 +85,7 @@ typedef enum NamingSchemeFlags { NAMING_RHEL_9_4 = NAMING_RHEL_9_3, NAMING_RHEL_9_5 = NAMING_RHEL_9_4 & ~NAMING_BRIDGE_MULTIFUNCTION_SLOT, - NAMING_RHEL_10_0 = NAMING_V257, + NAMING_RHEL_10_0_BETA = NAMING_V255 | NAMING_FIRMWARE_NODE_SUN, EXTRA_NET_NAMING_SCHEMES