Fix bug: dracut config must not be overwritten

Signed-off-by: Maurice Zhou <jasper@apvc.uk>
This commit is contained in:
Maurice Zhou
2022-03-21 10:01:28 +01:00
committed by George Melikov
parent 2aa4040743
commit b535751f23
2 changed files with 4 additions and 4 deletions

View File

@@ -33,8 +33,8 @@ System Configuration
#. Force load mpt3sas module if used::
if grep -q mpt3sas /proc/modules; then
echo 'forced_drivers+=" mpt3sas "' > /mnt/etc/dracut.conf.d/zfs.conf
if grep mpt3sas /proc/modules; then
echo 'forced_drivers+=" mpt3sas "' >> /mnt/etc/dracut.conf.d/zfs.conf
fi
#. Enable timezone sync::

View File

@@ -33,8 +33,8 @@ System Configuration
#. Force load mpt3sas module if used::
if grep -q mpt3sas /proc/modules; then
echo 'forced_drivers+=" mpt3sas "' > /mnt/etc/dracut.conf.d/zfs.conf
if grep mpt3sas /proc/modules; then
echo 'forced_drivers+=" mpt3sas "' >> /mnt/etc/dracut.conf.d/zfs.conf
fi
#. Interactively set locale, keymap, timezone, hostname and root password::