From 72875215a30bb37b65a8c9e8cdf3731e818eb2ed Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Thu, 7 Mar 2013 11:44:16 +0100 Subject: [PATCH] dracut.conf: move default settings to distro example --- dracut.conf | 10 +++++----- dracut.conf.d/fedora.conf.example | 4 +++- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/dracut.conf b/dracut.conf index 2089f22..8533f99 100644 --- a/dracut.conf +++ b/dracut.conf @@ -1,11 +1,11 @@ # PUT YOUR CONFIG HERE OR IN separate files named *.conf # in /etc/dracut.conf.d -# /etc/dracut.conf.d/*.conf will override the settings in here +# SEE man dracut.conf(5) # Sample dracut config file -logfile=/var/log/dracut.log -fileloglvl=6 +#logfile=/var/log/dracut.log +#fileloglvl=6 # Exact list of dracut modules to use. Modules not listed here are not going # to be included. If you only want to add some optional modules use @@ -29,10 +29,10 @@ fileloglvl=6 # # install local /etc/mdadm.conf -mdadmconf="yes" +#mdadmconf="no" # install local /etc/lvm/lvm.conf -lvmconf="yes" +#lvmconf="no" # A list of fsck tools to install. If it's not specified, module's hardcoded # default is used, currently: "umount mount /sbin/fsck* xfs_db xfs_check diff --git a/dracut.conf.d/fedora.conf.example b/dracut.conf.d/fedora.conf.example index c541d74..6266921 100644 --- a/dracut.conf.d/fedora.conf.example +++ b/dracut.conf.d/fedora.conf.example @@ -2,8 +2,10 @@ # i18n i18n_vars="/etc/sysconfig/keyboard:KEYTABLE-KEYMAP /etc/sysconfig/i18n:SYSFONT-FONT,FONTACM-FONT_MAP,FONT_UNIMAP" -omit_drivers+=" .*/fs/ocfs/.* i2o_scsi" +omit_drivers+=' .*/fs/ocfs/.* i2o_scsi' stdloglvl=3 +logfile=/var/log/dracut.log +fileloglvl=6 install_items+=" vi /etc/virc ps grep cat rm " prefix="/" systemdutildir=/usr/lib/systemd -- 2.7.4