2022-08-26 09:41:58 +03:00
|
|
|
{ pkgs ? (import <nixpkgs> { })
|
|
|
|
, makeDiskoTest ? (pkgs.callPackage ./lib.nix { }).makeDiskoTest
|
2022-08-17 15:20:44 +03:00
|
|
|
}:
|
2022-08-26 00:12:49 +03:00
|
|
|
makeDiskoTest {
|
2022-10-29 14:19:29 +03:00
|
|
|
disko-config = ../example/mdadm.nix;
|
2022-08-26 00:12:49 +03:00
|
|
|
extraTestScript = ''
|
2022-08-24 17:46:36 +03:00
|
|
|
machine.succeed("test -b /dev/md/raid1");
|
2022-09-30 13:55:28 +03:00
|
|
|
machine.succeed("mountpoint /");
|
2022-08-17 15:20:44 +03:00
|
|
|
'';
|
2022-09-30 13:55:28 +03:00
|
|
|
efi = false;
|
|
|
|
grub-devices = [ "/dev/vdb" "/dev/vdc" ];
|
2022-08-17 15:20:44 +03:00
|
|
|
}
|