mirror of
https://github.com/nix-community/disko
synced 2024-11-10 06:14:14 +00:00
lib makeDiskoTest: set networking.hostId to non null value
This commit is contained in:
parent
1ddcff717c
commit
737a21794c
1 changed files with 3 additions and 1 deletions
|
@ -172,7 +172,9 @@ let
|
|||
connect-timeout = 1;
|
||||
};
|
||||
|
||||
networking.hostId = lib.mkIf (testConfigInstall ? networking.hostId) testConfigInstall.networking.hostId;
|
||||
networking.hostId = lib.mkIf (
|
||||
(testConfigInstall ? networking.hostId) && (testConfigInstall.networking.hostId != null)
|
||||
) testConfigInstall.networking.hostId;
|
||||
|
||||
virtualisation.emptyDiskImages = builtins.genList (_: 4096) num-disks;
|
||||
|
||||
|
|
Loading…
Reference in a new issue