legacy.nix: change gw4+gw6 to cls-gw

This commit is contained in:
Astro 2021-04-07 01:22:20 +02:00
parent f5f62aa82a
commit df4c9f35b3
1 changed files with 3 additions and 3 deletions

View File

@ -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 // (