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