mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
Fix installer test
The installer now asks the user to set a root password if stdin is a tty, which doesn't work for an interactive test. http://hydra.nixos.org/build/11130072
This commit is contained in:
parent
e5eed8f664
commit
35925d7a76
|
@ -161,10 +161,10 @@ let
|
|||
"/mnt/etc/nixos/configuration.nix");
|
||||
|
||||
# Perform the installation.
|
||||
$machine->succeed("nixos-install >&2");
|
||||
$machine->succeed("nixos-install < /dev/null >&2");
|
||||
|
||||
# Do it again to make sure it's idempotent.
|
||||
$machine->succeed("nixos-install >&2");
|
||||
$machine->succeed("nixos-install < /dev/null >&2");
|
||||
|
||||
$machine->succeed("umount /mnt/boot || true");
|
||||
$machine->succeed("umount /mnt");
|
||||
|
|
Loading…
Reference in a new issue