anchor.diff:        $machine->mustSucceed("echo hello");
         $machine->shutdown;
       '';
  +
   }
  
positive.code:       $machine->waitForJob("tty1");
        $machine->waitForJob("rogue");
        $machine->waitForJob("nixos-manual");
  
        # Partition the disk.
        $machine->mustSucceed(
  
negative.code:           "mount LABEL=nixos /mnt",
        );
  
        # Create a NixOS configuration.
        $machine->mustSucceed(
            "mkdir -p /mnt/etc/nixos",
            "nixos-hardware-scan > /mnt/etc/nixos/hardware.nix",
        );
  
        my $cfg = $machine->mustSucceed("cat /mnt/etc/nixos/hardware.nix");
        print STDERR "Result of the hardware scan:$cfg\n";
  
        $machine->shutdown;
  
        # Now see if we can boot the installation.
  