]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
feat: add additional common configs
authorLaszlo Gombos <laszlo.gombos@gmail.com>
Fri, 21 Jun 2024 21:52:08 +0000 (17:52 -0400)
committerNeal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
Sat, 29 Jun 2024 01:27:28 +0000 (21:27 -0400)
dracut.conf.d/50-fips.conf [moved from dracut.conf.d/fips.conf.example with 98% similarity]
dracut.conf.d/50-generic.conf [new file with mode: 0644]
dracut.conf.d/50-hostonly.conf [new file with mode: 0644]
dracut.conf.d/50-rescue.conf [new file with mode: 0644]

similarity index 98%
rename from dracut.conf.d/fips.conf.example
rename to dracut.conf.d/50-fips.conf
index ccf56c77631eef50dbb5f022b1426343b4733396..43638694ebab6ba4affb3e120923bd5f4f7fb636 100644 (file)
@@ -1,3 +1,2 @@
 # turn on fips module
-
 add_dracutmodules+=" fips "
diff --git a/dracut.conf.d/50-generic.conf b/dracut.conf.d/50-generic.conf
new file mode 100644 (file)
index 0000000..27494d6
--- /dev/null
@@ -0,0 +1,2 @@
+# generic initrd works on other platforms than the one dracut was called
+hostonly="no"
diff --git a/dracut.conf.d/50-hostonly.conf b/dracut.conf.d/50-hostonly.conf
new file mode 100644 (file)
index 0000000..72fc929
--- /dev/null
@@ -0,0 +1,2 @@
+# optimize initrd to be as small as possible for faster boot performance, tailored to the current host
+hostonly="yes"
diff --git a/dracut.conf.d/50-rescue.conf b/dracut.conf.d/50-rescue.conf
new file mode 100644 (file)
index 0000000..6d6a170
--- /dev/null
@@ -0,0 +1 @@
+dracut_rescue_image="yes"