Update comment

For keyfile registration to initfsram
This commit is contained in:
Suikan 2021-07-24 15:22:25 +09:00
parent 44bb28e50a
commit 2a7d5ff125
2 changed files with 4 additions and 2 deletions

View file

@ -29,7 +29,8 @@ function chrooted_job() {
echo "${CRYPTPARTNAME} UUID=$(blkid -s UUID -o value ${DEV}${CRYPTPARTITION}) /etc/luks/boot_os.keyfile luks,discard" >> /etc/crypttab
# Add key file to the list of the intems in initfsram.
echo "...Registering key file to the ramfs"
# See https://cryptsetup-team.pages.debian.net/cryptsetup/README.initramfs.html for detail
echo "...Directing to include keyfile into the initfsram"
echo "KEYFILE_PATTERN=/etc/luks/*.keyfile" >> /etc/cryptsetup-initramfs/conf-hook
echo "UMASK=0077" >> /etc/initramfs-tools/initramfs.conf