about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorJade Lovelace <software@lfcode.ca>2024-01-13 18:18:42 -0800
committerJade Lovelace <software@lfcode.ca>2024-01-19 00:11:35 -0800
commit1323e3115da413467ac973018af640ee216cab82 (patch)
treefb73fb31d506751675ee3b071981baad9d86cca3 /nixos
parente7451cacf995ffc11e4441605e435b4c63c8e5f8 (diff)
nixos/tests: fix ssh-audit under network-online dep fix
Diffstat (limited to 'nixos')
-rw-r--r--nixos/tests/ssh-audit.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/tests/ssh-audit.nix b/nixos/tests/ssh-audit.nix
index bd6255b8044d9..25772aba3ea08 100644
--- a/nixos/tests/ssh-audit.nix
+++ b/nixos/tests/ssh-audit.nix
@@ -70,6 +70,7 @@ import ./make-test-python.nix (
       ${serverName}.succeed("${pkgs.ssh-audit}/bin/ssh-audit 127.0.0.1")
 
       # Wait for client to be able to connect to the server
+      ${clientName}.systemctl("start network-online.target")
       ${clientName}.wait_for_unit("network-online.target")
 
       # Set up trusted private key