mirror of
https://github.com/nix-community/disko
synced 2024-11-13 23:57:12 +00:00
14 lines
367 B
Nix
14 lines
367 B
Nix
{ pkgs ? (import <nixpkgs> { })
|
|
, makeDiskoTest ? (pkgs.callPackage ../lib { }).testLib.makeDiskoTest
|
|
}:
|
|
makeDiskoTest {
|
|
inherit pkgs;
|
|
name = "mdadm";
|
|
disko-config = ../example/mdadm.nix;
|
|
extraTestScript = ''
|
|
machine.succeed("test -b /dev/md/raid1");
|
|
machine.succeed("mountpoint /");
|
|
'';
|
|
efi = false;
|
|
grub-devices = [ "/dev/vdb" "/dev/vdc" ];
|
|
}
|