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