tests zfs: add crypted

This commit is contained in:
lassulus 2022-12-26 17:46:05 +01:00
parent a3e511d3c8
commit 33f93c658e
3 changed files with 30 additions and 0 deletions

View file

@ -88,6 +88,21 @@
mountpoint = "/ext4onzfs";
};
};
encrypted = {
zfs_type = "filesystem";
size = "20M";
options = {
mountpoint = "none";
encryption = "aes-256-gcm";
keyformat = "passphrase";
keylocation = "file:///tmp/secret.key";
};
};
"encrypted/test" = {
zfs_type = "filesystem";
size = "2M";
mountpoint = "/zfs_crypted";
};
};
};
};