diskimage-builder/diskimage_builder/elements/dracut-regenerate/environment.d/10-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

12 lines
269 B
Plaintext

export DIB_DRACUT_ENABLED_MODULES_DEFAULT_CONFIG="
- name: crypt
packages:
- cryptsetup
- name: lvm
packages:
- lvm2
"
DIB_DRACUT_ENABLED_MODULES=${DIB_DRACUT_ENABLED_MODULES:-${DIB_DRACUT_ENABLED_MODULES_DEFAULT_CONFIG}}
export DIB_DRACUT_ENABLED_MODULES