leapp-repository/SOURCES/0053-Fix-remediation-message-in-the-networkdeprecations-a.patch
eabdullin 1377bbc817 Import from CS git
(cherry picked from commit c60931c8ff)
2025-01-23 12:06:22 +02:00

28 lines
1.4 KiB
Diff

From bd6e7597c8a125479345c07f2901ecc505218b37 Mon Sep 17 00:00:00 2001
From: Beniamino Galvani <bgalvani@redhat.com>
Date: Wed, 15 Jan 2025 17:57:20 +0100
Subject: [PATCH 53/53] Fix remediation message in the networkdeprecations
actor
The message should suggest to remove "dhclient", not "internal".
---
.../el9toel10/actors/networkdeprecations/actor.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/repos/system_upgrade/el9toel10/actors/networkdeprecations/actor.py b/repos/system_upgrade/el9toel10/actors/networkdeprecations/actor.py
index 94868476..d1d58511 100644
--- a/repos/system_upgrade/el9toel10/actors/networkdeprecations/actor.py
+++ b/repos/system_upgrade/el9toel10/actors/networkdeprecations/actor.py
@@ -25,7 +25,7 @@ class CheckNetworkDeprecations9to10(Actor):
summary = ('NetworkManager is configured to use the "dhclient" DHCP module.'
' In Red Hat Enterprise Linux 10, this setting will be ignored'
' along with any dhcp-client specific configuration.')
- remediation = ('Remove "dhcp=internal" line from "[main]" section from all'
+ remediation = ('Remove "dhcp=dhclient" line from "[main]" section from all'
' configuration files in "/etc/NetworkManager". Review'
' configuration in "/etc/dhcp", which will be ignored.')
reporting.create_report([
--
2.47.1