mirror of
https://github.com/nix-community/disko.git
synced 2026-01-16 03:08:30 +01: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…
Add table
Add a link
Reference in a new issue