mirror of
https://github.com/nix-community/disko.git
synced 2026-12-01 13:33:28 +01:00
lib makeDiskoTest: set networking.hostId to non null value
This commit is contained in:
1 parent
1ddcff717c
commit
737a21794c
1 file changed
+3
-1
+3
-1
@@ -172,7 +172,9 @@ let
|
|||||||
connect-timeout = 1;
|
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;
|
virtualisation.emptyDiskImages = builtins.genList (_: 4096) num-disks;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user