mirror of
https://github.com/nix-community/disko.git
synced 2026-11-30 13:03:28 +01:00
example: add mdadm-raid0
This commit is contained in:
1 parent
79785c1cfc
commit
be98cffef0
2 files changed
+78
No files matched your search
@@ -0,0 +1,13 @@
|
||||
{ pkgs ? import <nixpkgs> { }
|
||||
, diskoLib ? pkgs.callPackage ../lib { }
|
||||
}:
|
||||
diskoLib.testLib.makeDiskoTest {
|
||||
inherit pkgs;
|
||||
name = "mdadm-raid0";
|
||||
disko-config = ../example/mdadm-raid0.nix;
|
||||
extraTestScript = ''
|
||||
machine.succeed("test -b /dev/md/raid0");
|
||||
machine.succeed("mountpoint /");
|
||||
'';
|
||||
efi = false;
|
||||
}
|
||||
Reference in new issue
Block a user