From 2123639965171ebb99b5ec5f73ee12297c68ab12 Mon Sep 17 00:00:00 2001 From: Astro Date: Tue, 7 Feb 2017 02:44:38 +0100 Subject: [PATCH] cpe: fix gateways --- salt/cpe/ap.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/salt/cpe/ap.sh b/salt/cpe/ap.sh index 169014b..501c814 100644 --- a/salt/cpe/ap.sh +++ b/salt/cpe/ap.sh @@ -6,8 +6,9 @@ set network.mgmt.ifname={{ ifname }} set network.mgmt.proto=static set network.mgmt.ipaddr={{ pillar['hosts-inet']['mgmt'][hostname] }} set network.mgmt.netmask=255.255.255.0 +set network.mgmt.gateway={{ pillar['hosts-inet']['mgmt']['mgmt-gw'] }} set network.mgmt.ip6addr={{ pillar['hosts-inet6']['mgmt'][hostname] }}/64 -set network.mgmt.ip6gw={{ pillar['hosts-inet']['mgmt']['mgmt-gw'] }} +set network.mgmt.ip6gw={{ pillar['hosts-inet6']['mgmt']['mgmt-gw'] }} delete network.mgmt.dns add_list network.mgmt.dns={{ pillar['hosts-inet']['core']['upstream1'] }} add_list network.mgmt.dns={{ pillar['hosts-inet6']['core']['upstream1'] }}