From c3300ddbcdd138da8bd3fb31d0f35a20f5b6ca13 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 e458b5dd6b..610a05485b 100644 --- a/man/systemd.net-naming-scheme.xml +++ b/man/systemd.net-naming-scheme.xml @@ -526,15 +526,15 @@ - rhel-10.0 + rhel-10.0-beta PCI slot number is now read from firmware_node/sun sysfs file. - + - 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 274450d408..c05cebfbe2 100644 --- a/man/version-info.xml +++ b/man/version-info.xml @@ -103,6 +103,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 149794e926..cb5f8c5d38 100644 --- a/src/shared/netif-naming-scheme.c +++ b/src/shared/netif-naming-scheme.c @@ -41,7 +41,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 229232d452..2e2023ba5b 100644 --- a/src/shared/netif-naming-scheme.h +++ b/src/shared/netif-naming-scheme.h @@ -83,7 +83,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_FIRMWARE_NODE_SUN, - NAMING_RHEL_10_0 = NAMING_V255 | NAMING_FIRMWARE_NODE_SUN, + NAMING_RHEL_10_0_BETA = NAMING_V255 | NAMING_FIRMWARE_NODE_SUN, EXTRA_NET_NAMING_SCHEMES