Skip to content

Commit 3f65d72

Browse files
committed
disko/tests: silence mdadm tests
1 parent d377b56 commit 3f65d72

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/tests.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,9 @@ let
181181
};
182182
boot.zfs.devNodes = "/dev/disk/by-uuid"; # needed because /dev/disk/by-id is empty in qemu-vms
183183

184+
# Silence mdadm warning about missing MAILADDR or PROGRAM
185+
boot.swraid.mdadmConf = "PROGRAM ${pkgs.coreutils}/bin/true";
186+
184187
# grub will install to these devices, we need to force those or we are offset by 1
185188
# we use mkOveride 70, so that users can override this with mkForce in case they are testing grub mirrored boots
186189
boot.loader.grub.devices = lib.mkOverride 70 testConfigInstall.boot.loader.grub.devices;

0 commit comments

Comments
 (0)