Skip to content

Commit

Permalink
netif-naming-scheme: rename rhel-10.0 to rhel-10.0.beta
Browse files Browse the repository at this point in the history
rhel-only: policy
Related: RHEL-55728
  • Loading branch information
lnykryn authored and jamacku committed Dec 16, 2024
1 parent ab5116a commit 014a0ac
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions man/systemd.net-naming-scheme.xml
Original file line number Diff line number Diff line change
Expand Up @@ -542,15 +542,15 @@
</varlistentry>

<varlistentry>
<term><constant>rhel-10.0</constant></term>
<term><constant>rhel-10.0-beta</constant></term>

<listitem><para>Same as naming scheme <constant>v255</constant>.</para>

<xi:include href="version-info.xml" xpointer="rhel-10.0"/>
<xi:include href="version-info.xml" xpointer="rhel-10.0.beta"/>
</listitem>
</varlistentry>
</variablelist>
<para>By default <constant>rhel-10.0</constant> is used.</para>
<para>By default <constant>rhel-10.0-beta</constant> is used.</para>

<refsect2>
<title>RHEL-9 schemes</title>
Expand Down
1 change: 1 addition & 0 deletions man/version-info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@
<para id="rhel-9.8">Added in rhel-9.8.</para>
<para id="rhel-9.9">Added in rhel-9.9.</para>
<para id="rhel-9.10">Added in rhel-9.10.</para>
<para id="rhel-10.0.beta">Added in rhel-10.0-beta.</para>
<para id="rhel-10.0">Added in rhel-10.0.</para>
<para id="rhel-10.1">Added in rhel-10.1.</para>
<para id="rhel-10.2">Added in rhel-10.2.</para>
Expand Down
2 changes: 1 addition & 1 deletion src/shared/netif-naming-scheme.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/shared/netif-naming-scheme.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 014a0ac

Please sign in to comment.