Merge pull request #217942 from lilyinstarlight/fix/nixos-test-systemd-initrd-shutdown

nixos/tests/systemd-shutdown: ensure systemd-initrd variant actually enables it
This commit is contained in:
Florian Klink
2023-02-25 19:02:53 +01:00
committed by GitHub
+1
View File
@@ -11,6 +11,7 @@ in {
systemd.shutdownRamfs.contents."/etc/systemd/system-shutdown/shutdown-message".source = pkgs.writeShellScript "shutdown-message" ''
echo "${msg}"
'';
boot.initrd.systemd.enable = systemdStage1;
};
testScript = ''