disko/tests/zfs-over-legacy.nix

16 lines
422 B
Nix
Raw Normal View History

{ pkgs ? import <nixpkgs> { }
, diskoLib ? pkgs.callPackage ../lib { }
2022-08-26 10:50:52 +00:00
}:
diskoLib.testLib.makeDiskoTest {
inherit pkgs;
2023-02-21 16:19:39 +00:00
name = "zfs-over-legacy";
2023-09-02 17:42:05 +00:00
extraInstallerConfig.networking.hostId = "8425e349";
extraSystemConfig.networking.hostId = "8425e349";
2022-10-29 11:19:29 +00:00
disko-config = ../example/zfs-over-legacy.nix;
2022-08-26 10:50:52 +00:00
extraTestScript = ''
machine.succeed("test -e /zfs_fs");
machine.succeed("mountpoint /zfs_fs");
2022-08-26 10:50:52 +00:00
'';
}