]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
feat: add common config when networking is not desired
authorLaszlo Gombos <laszlo.gombos@gmail.com>
Sat, 20 Jul 2024 17:55:03 +0000 (13:55 -0400)
committerNeal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
Sat, 20 Jul 2024 20:26:13 +0000 (16:26 -0400)
This is especially useful for distributions like Arch or Gentoo
that do not package networking dracut modules into its own
package.

dracut.conf.d/50-no-network.conf.example [new file with mode: 0644]

diff --git a/dracut.conf.d/50-no-network.conf.example b/dracut.conf.d/50-no-network.conf.example
new file mode 100644 (file)
index 0000000..5184ee2
--- /dev/null
@@ -0,0 +1,3 @@
+# ensure networking is not included in the generated initrd
+# all networking dracut modules either depend on net-lib or systemd-networkd
+omit_dracutmodules+=" net-lib systemd-networkd "