Installer test: Unmount filesystems after installation

Hopefully fixes failures like:

  http://hydra.nixos.org/build/10712833

This shouldn't be necessary, but it might be that the use of unionfs
is interfering with a clean shutdown.
This commit is contained in:
Eelco Dolstra 2014-04-30 14:51:27 +02:00
parent 728d3476ba
commit 437962ebb2

View file

@ -165,6 +165,10 @@ let
# Do it again to make sure it's idempotent.
$machine->succeed("nixos-install >&2");
$machine->succeed("umount /mnt/boot || true");
$machine->succeed("umount /mnt");
$machine->succeed("sync");
$machine->shutdown;
# Now see if we can boot the installation.