about summary refs log tree commit diff
path: root/nixpkgs/nixos/tests/qemu-vm-restrictnetwork.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/nixos/tests/qemu-vm-restrictnetwork.nix')
-rw-r--r--nixpkgs/nixos/tests/qemu-vm-restrictnetwork.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixpkgs/nixos/tests/qemu-vm-restrictnetwork.nix b/nixpkgs/nixos/tests/qemu-vm-restrictnetwork.nix
index 49a105ef1076..49aefcc099bd 100644
--- a/nixpkgs/nixos/tests/qemu-vm-restrictnetwork.nix
+++ b/nixpkgs/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")