nixos/swraid: fix regression for old initrd and add test coverage
This commit is contained in:
@@ -32,6 +32,9 @@ import ./make-test-python.nix ({ lib, pkgs, ... }: {
|
||||
};
|
||||
|
||||
specialisation.boot-swraid.configuration.virtualisation.rootDevice = "/dev/disk/by-label/testraid";
|
||||
# This protects against a regression. We do not have to switch to it.
|
||||
# It's sufficient to trigger its evaluation.
|
||||
specialisation.build-old-initrd.configuration.boot.initrd.systemd.enable = lib.mkForce false;
|
||||
};
|
||||
|
||||
testScript = ''
|
||||
|
||||
Reference in New Issue
Block a user