From 64a4ae6f37de056eb0aa3b4eb00dc47570910823 Mon Sep 17 00:00:00 2001 From: Astro Date: Thu, 16 Mar 2023 01:50:15 +0100 Subject: nixos/test-driver: remove allow_reboot state from Machine, make it a start() kwarg --- nixos/tests/login.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos/tests') diff --git a/nixos/tests/login.nix b/nixos/tests/login.nix index 97d7c7b9b535..67f5764a0a16 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'") -- cgit 1.4.1