summaryrefslogtreecommitdiff
path: root/make-network-legacy-instead-of-network-manager-the-network.patch
blob: cefbd18e5917bb9aec16fd1f68549bc5fe596ce7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From 9c3c197ce47bc45d0ea97bd3d4e05860c778df1b Mon Sep 17 00:00:00 2001
From: panxiaohe <panxiaohe@huawei.com>
Date: Mon, 17 Jan 2022 19:53:41 +0800
Subject: [PATCH] make network-legacy instead of network-manager the network
 provider

---
 modules.d/40network/module-setup.sh | 2 --
 1 file changed, 2 deletions(-)

diff --git a/modules.d/40network/module-setup.sh b/modules.d/40network/module-setup.sh
index cbb5b70..5396a49 100755
--- a/modules.d/40network/module-setup.sh
+++ b/modules.d/40network/module-setup.sh
@@ -19,8 +19,6 @@ depends() {
     if [ -z "$network_handler" ]; then
         if [[ -x $dracutsysrootdir$systemdsystemunitdir/wicked.service ]]; then
             network_handler="network-wicked"
-        elif [[ -x $dracutsysrootdir/usr/libexec/nm-initrd-generator ]]; then
-            network_handler="network-manager"
         else
             network_handler="network-legacy"
         fi
-- 
1.8.3.1