diskimage-builder/diskimage_builder/elements/dracut-regenerate
Yolanda Robla f23ea63341 Add dracut-regenerate elements
This new element will allow to regenerate dracut
on the produced images, to enable different modules. It
relies on a yaml blob to specify modules and packages
needed. It defaults to installing lvm and crypt.

Change-Id: I292fb70cde41ee6053b7b81a67931bcdaaa6d664
2017-05-19 09:43:11 +02:00
..
environment.d Add dracut-regenerate elements 2017-05-19 09:43:11 +02:00
finalise.d Add dracut-regenerate elements 2017-05-19 09:43:11 +02:00
element-deps Add dracut-regenerate elements 2017-05-19 09:43:11 +02:00
README.rst Add dracut-regenerate elements 2017-05-19 09:43:11 +02: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.