mirror of
https://github.com/TECHNOFAB11/disko.git
synced 2025-12-12 08:00:05 +01:00
16 lines
434 B
Nix
16 lines
434 B
Nix
{ pkgs ? (import <nixpkgs> { })
|
|
, makeDiskoTest ? (pkgs.callPackage ./lib.nix { }).makeDiskoTest
|
|
}:
|
|
makeDiskoTest {
|
|
name = "luks-lvm";
|
|
disko-config = ../example/luks-lvm.nix;
|
|
extraTestScript = ''
|
|
machine.succeed("cryptsetup isLuks /dev/vda2");
|
|
machine.succeed("mountpoint /home");
|
|
'';
|
|
enableOCR = true;
|
|
bootCommands = ''
|
|
machine.wait_for_text("Passphrase for")
|
|
machine.send_chars("secretsecret\n")
|
|
'';
|
|
}
|