fix
This commit is contained in:
parent
901f586064
commit
0d5d803d62
@ -953,7 +953,7 @@ bootloader() {
|
|||||||
|
|
||||||
if [[ $FULL_DISK_ENCRYPTION = *True* ]]; then
|
if [[ $FULL_DISK_ENCRYPTION = *True* ]]; then
|
||||||
KERNEL_COMMAND_LINE="$KERNEL_COMMAND_LINE: rd.luks.uuid=$(/sbin/blkid -s UUID -o value ${BTRFS})"
|
KERNEL_COMMAND_LINE="$KERNEL_COMMAND_LINE: rd.luks.uuid=$(/sbin/blkid -s UUID -o value ${BTRFS})"
|
||||||
echo "add_dracutmodules+=\" crypt dm systemd-cryptsetup rootfs-block \"" >/etc/dracut.conf
|
echo "add_dracutmodules+=\" crypt systemd-cryptsetup dm rootfs-block \"" >/etc/dracut.conf
|
||||||
echo "kernel_cmdline+=\" $KERNEL_COMMAND_LINE \" " >>/etc/dracut.conf
|
echo "kernel_cmdline+=\" $KERNEL_COMMAND_LINE \" " >>/etc/dracut.conf
|
||||||
|
|
||||||
if [ "$AUTO_DECRYPT" == "True" ]; then
|
if [ "$AUTO_DECRYPT" == "True" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user