add rd.luks.uuid to GRUB_CMDLINE (fixes unbootable system with dracut… (#265)
* add rd.luks.uuid to GRUB_CMDLINE (fixes unbootable system with dracut --nohostonly, and doesn't affect any other initramfs generators) * typo
This commit is contained in:
parent
d54ec4a9ff
commit
7e74d48fb6
@ -51,7 +51,9 @@ def modify_grub_default(partitions, root_mount_point, distributor):
|
||||
cryptdevice_params = [
|
||||
"cryptdevice=UUID={!s}:{!s}".format(partition["luksUuid"],
|
||||
partition["luksMapperName"]),
|
||||
"root=/dev/mapper/{!s}".format(partition["luksMapperName"])
|
||||
"root=/dev/mapper/{!s}".format(partition["luksMapperName"]),
|
||||
# Fix for unbootable system with dracut --nohostonly
|
||||
"rd.luks.uuid={!s}".format(partition["luksUuid"])
|
||||
]
|
||||
|
||||
kernel_params = ["quiet"]
|
||||
|
Loading…
Reference in New Issue
Block a user