|
|
17094c |
From 0945c8070e436eef908a1f88c946df6c27d3bc41 Mon Sep 17 00:00:00 2001
|
|
|
17094c |
From: Peter Georg <peter.georg@physik.uni-regensburg.de>
|
|
|
17094c |
Date: Tue, 21 Apr 2020 21:34:38 +0200
|
|
|
17094c |
Subject: [PATCH] Always pull in machinery to read ifcfg files
|
|
|
17094c |
|
|
|
17094c |
So far machinery is only pulled in if the user has not yet included any
|
|
|
17094c |
ifcfg files.
|
|
|
17094c |
|
|
|
17094c |
(cherry picked from commit faea4e4ddb10f697590b80f8f17181341c537262)
|
|
|
17094c |
|
|
|
17094c |
Resolves: #1826061
|
|
|
17094c |
---
|
|
|
17094c |
modules.d/35network-manager/module-setup.sh | 6 ++----
|
|
|
17094c |
1 file changed, 2 insertions(+), 4 deletions(-)
|
|
|
17094c |
|
|
|
17094c |
diff --git a/modules.d/35network-manager/module-setup.sh b/modules.d/35network-manager/module-setup.sh
|
|
|
17094c |
index 8fc3114d..ad2a1534 100755
|
|
|
17094c |
--- a/modules.d/35network-manager/module-setup.sh
|
|
|
17094c |
+++ b/modules.d/35network-manager/module-setup.sh
|
|
|
17094c |
@@ -47,10 +47,8 @@ install() {
|
|
|
17094c |
fi
|
|
|
17094c |
|
|
|
17094c |
# We don't install the ifcfg files from the host automatically.
|
|
|
17094c |
- # But if the user chooses to include them, we pull in the machinery to read them.
|
|
|
17094c |
- if ! [[ -d "$initdir/etc/sysconfig/network-scripts" ]]; then
|
|
|
17094c |
- inst_libdir_file "NetworkManager/$_nm_version/libnm-settings-plugin-ifcfg-rh.so"
|
|
|
17094c |
- fi
|
|
|
17094c |
+ # But the user might choose to include them, so we pull in the machinery to read them.
|
|
|
17094c |
+ inst_libdir_file "NetworkManager/$_nm_version/libnm-settings-plugin-ifcfg-rh.so"
|
|
|
17094c |
|
|
|
17094c |
_arch=${DRACUT_ARCH:-$(uname -m)}
|
|
|
17094c |
|
|
|
17094c |
|