disko/tests: silence mdadm tests

This commit is contained in:
Jörg Thalheim authored and Jörg Thalheim committed 2025-11-04 17:23:16 +00:00
1 parent d377b56993
commit 3f65d72ca6
1 file changed
+3
+3
View File
@@ -181,6 +181,9 @@ let
};
boot.zfs.devNodes = "/dev/disk/by-uuid"; # needed because /dev/disk/by-id is empty in qemu-vms
# Silence mdadm warning about missing MAILADDR or PROGRAM
boot.swraid.mdadmConf = "PROGRAM ${pkgs.coreutils}/bin/true";
# grub will install to these devices, we need to force those or we are offset by 1
# we use mkOveride 70, so that users can override this with mkForce in case they are testing grub mirrored boots
boot.loader.grub.devices = lib.mkOverride 70 testConfigInstall.boot.loader.grub.devices;