2023-07-28 15:04:18 +03:00
|
|
|
{ pkgs ? import <nixpkgs> { }
|
|
|
|
, diskoLib ? pkgs.callPackage ../lib { }
|
2022-08-26 13:50:52 +03:00
|
|
|
}:
|
2023-07-28 15:04:18 +03:00
|
|
|
diskoLib.testLib.makeDiskoTest {
|
2023-07-14 12:37:30 +03:00
|
|
|
inherit pkgs;
|
2023-02-21 19:19:39 +03:00
|
|
|
name = "zfs-over-legacy";
|
2023-09-02 20:42:05 +03:00
|
|
|
extraInstallerConfig.networking.hostId = "8425e349";
|
|
|
|
extraSystemConfig.networking.hostId = "8425e349";
|
2022-10-29 14:19:29 +03:00
|
|
|
disko-config = ../example/zfs-over-legacy.nix;
|
2022-08-26 13:50:52 +03:00
|
|
|
extraTestScript = ''
|
2022-09-30 13:55:28 +03:00
|
|
|
machine.succeed("test -e /zfs_fs");
|
|
|
|
machine.succeed("mountpoint /zfs_fs");
|
2022-08-26 13:50:52 +03:00
|
|
|
'';
|
|
|
|
}
|
|
|
|
|