luks-lvm: document secret.key newline

This commit is contained in:
lassulus 2023-04-30 13:59:54 +02:00
parent c917cb9cdb
commit 8b43938cf7

View file

@ -30,6 +30,8 @@
type = "luks"; type = "luks";
name = "crypted"; name = "crypted";
extraOpenArgs = [ "--allow-discards" ]; extraOpenArgs = [ "--allow-discards" ];
# if you want to use the key for interactive login be sure there is no trailing newline
# for example use `echo -n "password" > /tmp/secret.key`
keyFile = "/tmp/secret.key"; keyFile = "/tmp/secret.key";
content = { content = {
type = "lvm_pv"; type = "lvm_pv";