Don't require user interaction for passphrase.
This commit is contained in:
parent
2397e4a7a5
commit
46251e8f43
3
makefile
3
makefile
|
@ -52,7 +52,8 @@ configure_luks:
|
||||||
echo $(PASSPHRASE) | cryptsetup luksAddKey \
|
echo $(PASSPHRASE) | cryptsetup luksAddKey \
|
||||||
/dev/disk/by-partlabel/crypt \
|
/dev/disk/by-partlabel/crypt \
|
||||||
--key-file /tmp/keyfile
|
--key-file /tmp/keyfile
|
||||||
cryptsetup luksOpen /dev/disk/by-partlabel/crypt root
|
echo $(PASSPHRASE) | cryptsetup luksOpen \
|
||||||
|
/dev/disk/by-partlabel/crypt root
|
||||||
cryptsetup luksRemoveKey /dev/disk/by-partlabel/crypt /tmp/keyfile
|
cryptsetup luksRemoveKey /dev/disk/by-partlabel/crypt /tmp/keyfile
|
||||||
|
|
||||||
configure_lvm:
|
configure_lvm:
|
||||||
|
|
Reference in New Issue
Block a user