summaryrefslogtreecommitdiffstats
path: root/nixos
diff options
context:
space:
mode:
authorWill Fancher <elvishjerricco@gmail.com>2023-06-08 00:24:36 -0400
committerWill Fancher <elvishjerricco@gmail.com>2023-06-08 00:25:15 -0400
commita9e34ff905798ec1a727312de4137e48a7b8dd2f (patch)
tree095da5e4ea1b3a060d46fccd364d7757eb6adfbb /nixos
parent945f0625d549db0fc3e4d05484223cca14698064 (diff)
systemd stage 1 networking: Add network-pre to flush tests
This isn't actually wanted by any units by default.
Diffstat (limited to 'nixos')
-rw-r--r--nixos/tests/systemd-initrd-networkd.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/tests/systemd-initrd-networkd.nix b/nixos/tests/systemd-initrd-networkd.nix
index 00ecbec5613c..8376276d8f63 100644
--- a/nixos/tests/systemd-initrd-networkd.nix
+++ b/nixos/tests/systemd-initrd-networkd.nix
@@ -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 ];