|
|
3b5284 |
From 6c0071bc72dbbdd2a958277618a9b2c64c6ee460 Mon Sep 17 00:00:00 2001
|
|
|
3b5284 |
From: Lukas Nykryn <lnykryn@redhat.com>
|
|
|
3b5284 |
Date: Thu, 2 Jul 2020 14:33:20 +0200
|
|
|
3b5284 |
Subject: [PATCH] spec: don't use NM on existing installations
|
|
|
3b5284 |
|
|
|
3b5284 |
Resolves: #1839706
|
|
|
3b5284 |
---
|
|
|
3b5284 |
dracut.spec | 5 +++++
|
|
|
3b5284 |
1 file changed, 5 insertions(+)
|
|
|
3b5284 |
|
|
|
3b5284 |
diff --git a/dracut.spec b/dracut.spec
|
|
|
3b5284 |
index c82c24f6..a8076c18 100644
|
|
|
3b5284 |
--- a/dracut.spec
|
|
|
3b5284 |
+++ b/dracut.spec
|
|
|
3b5284 |
@@ -481,4 +481,9 @@ install -m 0755 51-dracut-rescue-postinst.sh $RPM_BUILD_ROOT%{_sysconfdir}/kerne
|
|
|
3b5284 |
%{_sysconfdir}/kernel/postinst.d/51-dracut-rescue-postinst.sh
|
|
|
3b5284 |
%endif
|
|
|
3b5284 |
|
|
|
3b5284 |
+%triggerin network -- dracut-network < 049-83.git20200525
|
|
|
3b5284 |
+echo '# Since rhel-8.3 dracut moved to use NetworkManager
|
|
|
3b5284 |
+# On existing installations we want to preserve the old scripts
|
|
|
3b5284 |
+add_dracutmodules+=" network-legacy "' > /etc/dracut.conf.d/50-network-legacy.conf
|
|
|
3b5284 |
+
|
|
|
3b5284 |
%changelog
|
|
|
3b5284 |
|