anchor.diff:        print STDERR "Result of the hardware scan:\n$cfg\n";
   
         $machine->copyFileFromHost(
  -          "${ config { inherit fileSystems testChannel; } }",
  +          "${ config { inherit fileSystems testChannel grubVersion; } }",
             "/mnt/etc/nixos/configuration.nix");
   
         # Perform the installation.
  
positive.code:   # a test script fragment `createPartitions', which must create
    # partitions and filesystems, and a configuration.nix fragment
    # `fileSystems'.
    testScriptFun = { createPartitions, fileSystems, testChannel }:
      ''
        createDisk("harddisk", 4 * 1024);
  
  
negative.code:     '';
  
  
    makeTest = { createPartitions, fileSystems, testChannel ? false, grubVersion ? 2 }:
      { inherit iso;
        nodes = if testChannel then { inherit webserver; } else { };
        testScript = testScriptFun {
          inherit createPartitions fileSystems testChannel grubVersion;
        };
      };
  
  