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

@ -12,6 +12,7 @@
, grub-devices ? [ "nodev" ]
, efi ? true
, enableOCR ? false
, postDisko ? ""
, testMode ? "direct" # can be one of direct module cli
, testBoot ? true # if we actually want to test booting or just create/mount
}:
@ -148,6 +149,8 @@
machine.succeed("${tsp-disko}") # verify that we can destroy and recreate
''}
${postDisko}
${lib.optionalString testBoot ''
# mount nix-store in /mnt
machine.succeed("mkdir -p /mnt/nix/store")