summaryrefslogtreecommitdiff
path: root/make-network-legacy-instead-of-network-manager-the-network.patch
diff options
context:
space:
mode:
Diffstat (limited to 'make-network-legacy-instead-of-network-manager-the-network.patch')
-rw-r--r--make-network-legacy-instead-of-network-manager-the-network.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/make-network-legacy-instead-of-network-manager-the-network.patch b/make-network-legacy-instead-of-network-manager-the-network.patch
new file mode 100644
index 0000000..cefbd18
--- /dev/null
+++ b/make-network-legacy-instead-of-network-manager-the-network.patch
@@ -0,0 +1,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
+