forked from mirrors/nixpkgs
Make hostname in tests overridable
The original form effectively forbade any NixOS configuration that is under test to explicitly set the hostname.
This commit is contained in:
parent
8ac6b77eff
commit
d0ef94258d
|
@ -67,7 +67,7 @@ rec {
|
|||
in
|
||||
{ key = "ip-address";
|
||||
config =
|
||||
{ networking.hostName = m.fst;
|
||||
{ networking.hostName = mkDefault m.fst;
|
||||
|
||||
networking.interfaces = listToAttrs interfaces;
|
||||
|
||||
|
|
Loading…
Reference in a new issue