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'] }}