mirror of
https://github.com/nix-community/disko.git
synced 2026-12-03 14:33:28 +01:00
luks-lvm: document secret.key newline
This commit is contained in:
1 parent
c917cb9cdb
commit
8b43938cf7
1 file changed
+2
@@ -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";
|
||||||
|
|||||||
Reference in new issue
Block a user