mirror of
https://github.com/nix-community/disko.git
synced 2026-11-30 21:13:28 +01:00
add additionalKeyFiles option to luks
This commit is contained in:
1 parent
68eb09b183
commit
7eb0940839
4 files changed
+10
No files matched your search
@@ -32,6 +32,7 @@
|
||||
type = "luks";
|
||||
name = "crypted1";
|
||||
settings.keyFile = "/tmp/secret.key";
|
||||
additionalKeyFiles = ["/tmp/additionalSecret.key"];
|
||||
extraFormatArgs = [
|
||||
"--iter-time 1" # unsecure but fast for tests
|
||||
];
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
# 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`
|
||||
settings.keyFile = "/tmp/secret.key";
|
||||
additionalKeyFiles = ["/tmp/additionalSecret.key"];
|
||||
content = {
|
||||
type = "lvm_pv";
|
||||
vg = "pool";
|
||||
|
||||
Reference in new issue
Block a user