legacy.nix: change gw4+gw6 to cls-gw
This commit is contained in:
parent
f5f62aa82a
commit
df4c9f35b3
|
@ -63,9 +63,9 @@ in
|
|||
role = "server";
|
||||
interfaces = builtins.mapAttrs (net: _: {
|
||||
type = "phys";
|
||||
} // lib.optionalAttrs (net == "mgmt") {
|
||||
gw4 = "mgmt-gw";
|
||||
gw6 = "mgmt-gw";
|
||||
} // lib.optionalAttrs (net == "cluster") {
|
||||
gw4 = "cls-gw";
|
||||
gw6 = "cls-gw";
|
||||
}) (
|
||||
lib.filterAttrs (_: hosts: hosts ? ${hostName}) (
|
||||
pillar.hosts-inet // (
|
||||
|
|
Loading…
Reference in New Issue