mirror of
https://github.com/nix-community/disko.git
synced 2026-12-04 15:03:28 +01:00
tests: get rid of OCR, generate keyFile in preDevice
This commit is contained in:
1 parent
86e90d0fdb
commit
b22ebd5ecd
6 files changed
+4
-24
No files matched your search
+1
-4
@@ -4,12 +4,9 @@
|
||||
makeDiskoTest {
|
||||
name = "luks-lvm";
|
||||
disko-config = ../example/luks-lvm.nix;
|
||||
extraConfig.boot.initrd.luks.devices.crypted.preLVM = false;
|
||||
extraTestScript = ''
|
||||
machine.succeed("cryptsetup isLuks /dev/vda2");
|
||||
machine.succeed("mountpoint /home");
|
||||
'';
|
||||
bootCommands = ''
|
||||
machine.wait_for_console_text("vda")
|
||||
machine.send_console("secretsecret\n")
|
||||
'';
|
||||
}
|
||||
Reference in new issue
Block a user