systemd stage 1 networking: Add network-pre to flush tests

This isn't actually wanted by any units by default.
This commit is contained in:
Will Fancher 2023-06-08 00:24:36 -04:00
parent 945f0625d5
commit a9e34ff905

View File

@ -12,6 +12,7 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: {
systemd.services.check-flush = {
requiredBy = ["multi-user.target"];
before = ["network-pre.target" "multi-user.target"];
wants = ["network-pre.target"];
unitConfig.DefaultDependencies = false;
serviceConfig.Type = "oneshot";
path = [ pkgs.iproute2 pkgs.iputils pkgs.gnugrep ];