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