diff --git a/steps/50-configure.step b/steps/50-configure.step index e7f2fd4..859ab2d 100755 --- a/steps/50-configure.step +++ b/steps/50-configure.step @@ -26,7 +26,7 @@ else arch-chroot /mnt grub-install --target=i386-pc /dev/*da fi -if [ "$cryptroot" -eq 1 ]; then +if [ "$cryptroot" == "yes" ]; then echo "GRUB_CMDLINE_LINUX='cryptdevice=UUID=`blkid -o value ${blockdevice}2 | head -n 1`:cryptroot'" > /mnt/etc/default/grub fi