diskimage-builder/diskimage_builder/elements/dracut-regenerate
Yolanda Robla 3ff8d1e10b Move the ordering of the dracut regenerate command
When using combined with rhel7 image, the unregister of repos
has already happened, because it is executed under 60- ordering.
As dracut-regenerate may need to install extra packages for it,
it causes this step to fail, because it cannot find repos where
to pull the packages from.

Change-Id: I35e37df7990ad76a5004cb90fdd863ec743a5483
2017-09-06 12:52:05 +02:00
..
environment.d Add dracut-regenerate elements 2017-05-19 09:43:11 +02:00
finalise.d Move the ordering of the dracut regenerate command 2017-09-06 12:52:05 +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.