tests zfs: don't read key from prompt

This commit is contained in:
lassulus committed 2023-07-11 09:29:28 +02:00
1 parent b22ebd5ecd
commit c5a31c351e
2 files changed
+4 -4

No files matched your search

+4 -3
View File
@@ -95,9 +95,10 @@
keyformat = "passphrase";
keylocation = "file:///tmp/secret.key";
};
postCreateHook = ''
zfs set keylocation="prompt" "zroot/$name";
'';
# use this to read the key during boot
# postCreateHook = ''
# zfs set keylocation="prompt" "zroot/$name";
# '';
};
"encrypted/test" = {
type = "zfs_fs";