mirror of
https://github.com/suikan4github/kaiten-yaki.git
synced 2025-12-20 02:21:17 -03:00
Update comment
For keyfile registration to initfsram
This commit is contained in:
parent
44bb28e50a
commit
2a7d5ff125
2 changed files with 4 additions and 2 deletions
|
|
@ -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://man7.org/linux/man-pages/man5/dracut.conf.5.html for details.
|
||||
echo "...Directing to include keyfile into the initfsram"
|
||||
echo 'install_items+=" /etc/luks/boot_os.keyfile /etc/crypttab " ' > /etc/dracut.conf.d/10-crypt.conf
|
||||
|
||||
# Finally, update the ramfs initial image with the key file.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue