Ubuntu: Fix 16.04 LUKS

Like 16.10 (and the comment in the 16.04 code), this approach should use
"initramfs", not "keyscript=/bin/cat".

See also:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=820888
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=838001
Richard Laager 2017-05-08 00:29:06 -05:00
parent 882c29a2a6
commit ba178841ad
1 changed files with 1 additions and 1 deletions

@ -256,7 +256,7 @@ Even if you prefer a non-English system language, always ensure that `en_US.UTF-
# echo luks1 UUID=$(blkid -s UUID -o value \ # echo luks1 UUID=$(blkid -s UUID -o value \
/dev/disk/by-id/scsi-SATA_disk1-part1) none \ /dev/disk/by-id/scsi-SATA_disk1-part1) none \
luks,discard,keyscript=/bin/cat > /etc/crypttab luks,discard,initramfs > /etc/crypttab
# vi /etc/udev/rules.d/99-local-crypt.rules # vi /etc/udev/rules.d/99-local-crypt.rules
ENV{DM_NAME}!="", SYMLINK+="$env{DM_NAME}" ENV{DM_NAME}!="", SYMLINK+="$env{DM_NAME}"