mirror of
https://github.com/nix-community/disko
synced 2024-11-10 06:14:14 +00:00
luks-lvm: document secret.key newline
This commit is contained in:
parent
c917cb9cdb
commit
8b43938cf7
1 changed files with 2 additions and 0 deletions
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue