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
|
in
|
||||||
{ key = "ip-address";
|
{ key = "ip-address";
|
||||||
config =
|
config =
|
||||||
{ networking.hostName = m.fst;
|
{ networking.hostName = mkDefault m.fst;
|
||||||
|
|
||||||
networking.interfaces = listToAttrs interfaces;
|
networking.interfaces = listToAttrs interfaces;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue