From df4c9f35b34d1c62ff4a44a13c1a968cc5dcde16 Mon Sep 17 00:00:00 2001 From: Astro Date: Wed, 7 Apr 2021 01:22:20 +0200 Subject: [PATCH] legacy.nix: change gw4+gw6 to cls-gw --- nix/lib/config/legacy.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nix/lib/config/legacy.nix b/nix/lib/config/legacy.nix index 69ee905..d4ea811 100644 --- a/nix/lib/config/legacy.nix +++ b/nix/lib/config/legacy.nix @@ -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 // (