[alpine-user] How to automount a luks encrypted volume using keyfile on system start?
I followed the following steps to set up encrypted volumes with LUKS and it
I'd like to use keyfile to automount a luks encrypted volume. I tried to
added the line "lvmcrypt /dev/vda2 /etc/mykeyfile luks" to /etc/crypttab,
then run "mkinitfs" to regenerate initramfs, but it doesn't work.
Still prompts for passphrase :( Anyone has idea to how to? Thanks.
Received on Mon Mar 05 2018 - 17:17:59 GMT