summary refs log tree commit diff
path: root/nixos/tests/login.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/tests/login.nix')
-rw-r--r--nixos/tests/login.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/login.nix b/nixos/tests/login.nix
index 97d7c7b9b53..67f5764a0a1 100644
--- a/nixos/tests/login.nix
+++ b/nixos/tests/login.nix
@@ -13,7 +13,7 @@ import ./make-test-python.nix ({ pkgs, latestKernel ? false, ... }:
     };
 
   testScript = ''
-      machine.allow_reboot = True
+      machine.start(allow_reboot = True)
 
       machine.wait_for_unit("multi-user.target")
       machine.wait_until_succeeds("pgrep -f 'agetty.*tty1'")