diskimage-builder/diskimage_builder/elements/dracut-regenerate
Ian Wienand 57b7d2bceb dracut-regenerate: drop Python 2 packages
We don't support any Python 2 guest systems, drop the Python 2 bits
from package-installs.

Change-Id: Ica5c71c2926968d438ac1d0b0f16981cadf0bab1
2021-10-27 11:11:50 +11:00
..
environment.d Add dracut-regenerate elements 2017-05-19 09:43:11 +02:00
extra-data.d Ensure nouveau is blacklisted in initramfs too 2019-10-23 10:16:00 +11:00
finalise.d Fix building error with element dracut-regenerate 2021-01-14 01:30:52 +00:00
element-deps Add dracut-regenerate elements 2017-05-19 09:43:11 +02:00
package-installs.yaml dracut-regenerate: drop Python 2 packages 2021-10-27 11:11:50 +11:00
pkg-map dracut-regenerate: drop Python 2 packages 2021-10-27 11:11:50 +11:00
README.rst Ensure nouveau is blacklisted in initramfs too 2019-10-23 10:16:00 +11:00

=================
dracut-regenerate
=================
Adds the possibility of regenerating dracut on image build time, giving the
possibility to load extra modules.
It relies on the ``DIB_DRACUT_ENABLED_MODULES`` setting, that will accept
a yaml blob with the following format::

  - name: <module1>
    packages:
      - <package1>
      - <package2>
  - name: <module2>
    packages:
      - <package3>
      - <package4>

By default, this element will bring lvm and crypt modules.

Also adds the ability to copy specific files into /etc/dracut.conf.d directory
to allow any dracut settings to be configured. To achieve that the files to be
copied need to be placed inside an specific dracut.d directory of the element.