summaryrefslogtreecommitdiff
path: root/dracut.conf
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2009-09-15 09:00:13 +0200
committerHarald Hoyer <harald@redhat.com>2009-09-15 15:00:18 +0200
commit2f02ae9d45b263eecf4348986a8e67057dbad126 (patch)
tree0a71665cd7a5e416b436694036742d8b40e561c4 /dracut.conf
parent11fcc8c8f941edb438ad48ef7deb6cbf8d87d530 (diff)
downloaddracut-2f02ae9d45b263eecf4348986a8e67057dbad126.tar.gz
dracut-2f02ae9d45b263eecf4348986a8e67057dbad126.tar.bz2
dracut-2f02ae9d45b263eecf4348986a8e67057dbad126.zip
mdraid: add rd_NO_MDADMCONF --mdadmconf --nomdadmconf
Copy /etc/mdadm.conf to initramfs (even for non-hostonly) if mdadmconf="yes" is set in dracut.conf or --mdadmconf is specified on the dracut command line. This was done, because there seems _no_ sane way to autoassemble md raid arrays. also moved rd_NO_MD to an udev ENV
Diffstat (limited to 'dracut.conf')
-rw-r--r--dracut.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/dracut.conf b/dracut.conf
index 73d064fe..ded37767 100644
--- a/dracut.conf
+++ b/dracut.conf
@@ -11,3 +11,7 @@
# build initrd only to boot current hardware
#hostonly="-h"
+#
+
+# install local /etc/mdadm.conf
+mdadmconf="yes"