Merge "Add element to rebuild dracut enabling modules"
This commit is contained in:
commit
9538a56022
|
@ -0,0 +1,7 @@
|
|||
================
|
||||
overcloud-dracut
|
||||
================
|
||||
Rebuilds initramfs adding all the modules needed to support
|
||||
TripleO needs in terms of booting whole disk images with
|
||||
enabled security. We need lvm and encryption on the images,
|
||||
so adding related packages and modules to enable those.
|
|
@ -0,0 +1,2 @@
|
|||
package-installs
|
||||
select-boot-kernel-initrd
|
|
@ -0,0 +1,13 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
|
||||
set -x
|
||||
fi
|
||||
set -eu
|
||||
set -o pipefail
|
||||
|
||||
RET=$(select-boot-kernel-initrd)
|
||||
KERNEL_VERSION=`echo ${RET%:*} | sed 's/vmlinuz-//g'`
|
||||
RAMDISK=/boot/${RET#*:}
|
||||
|
||||
dracut --force --add "crypt lvm" $RAMDISK $KERNEL_VERSION
|
|
@ -0,0 +1,2 @@
|
|||
cryptsetup:
|
||||
lvm2:
|
Loading…
Reference in New Issue