about summary refs log tree commit diff
path: root/nixos/tests/qemu-vm-restrictnetwork.nix
diff options
context:
space:
mode:
authorJade Lovelace <software@lfcode.ca>2023-10-02 23:45:13 -0700
committerJade Lovelace <software@lfcode.ca>2024-01-18 16:28:41 -0800
commit8169ded7a3b730495f9c63d7830aa6fa4b982ee3 (patch)
treeb9024c1f072fe957a7a39369d06693126bd61607 /nixos/tests/qemu-vm-restrictnetwork.nix
parent62f30634db2146c23f9aff1c9b598524652bbeb7 (diff)
nixos/tests: fix qemu-vm-restrictnetwork under network-online dep fix
Diffstat (limited to 'nixos/tests/qemu-vm-restrictnetwork.nix')
-rw-r--r--nixos/tests/qemu-vm-restrictnetwork.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/tests/qemu-vm-restrictnetwork.nix b/nixos/tests/qemu-vm-restrictnetwork.nix
index 49a105ef10767..49aefcc099bda 100644
--- a/nixos/tests/qemu-vm-restrictnetwork.nix
+++ b/nixos/tests/qemu-vm-restrictnetwork.nix
@@ -21,6 +21,8 @@ import ./make-test-python.nix ({
 
     else:
       start_all()
+      unrestricted.systemctl("start network-online.target")
+      restricted.systemctl("start network-online.target")
       unrestricted.wait_for_unit("network-online.target")
       restricted.wait_for_unit("network-online.target")