pkgs/ap.sh: use dnscache
This commit is contained in:
parent
96da13020f
commit
994b00bf96
|
@ -10,11 +10,8 @@ set network.mgmt.gateway={{ pillar['hosts-inet']['mgmt']['mgmt-gw'] }}
|
|||
set network.mgmt.ip6addr={{ pillar['hosts-inet6']['dn42']['mgmt'][hostname] }}/64
|
||||
set network.mgmt.ip6gw={{ pillar['hosts-inet6']['dn42']['mgmt']['mgmt-gw'] }}
|
||||
delete network.mgmt.dns
|
||||
add_list network.mgmt.dns=172.20.73.8
|
||||
add_list network.mgmt.dns={{ pillar['hosts-inet']['core']['upstream1'] }}
|
||||
add_list network.mgmt.dns={{ pillar['hosts-inet6']['dn42']['core']['upstream1'] }}
|
||||
add_list network.mgmt.dns={{ pillar['hosts-inet']['core']['upstream2'] }}
|
||||
add_list network.mgmt.dns={{ pillar['hosts-inet6']['dn42']['core']['upstream2'] }}
|
||||
add_list network.mgmt.dns={{ pillar['hosts-inet']['serv']['dnscache'] }}
|
||||
add_list network.mgmt.dns={{ pillar['hosts-inet6']['dn42']['serv']['dnscache'] }}
|
||||
{%- endmacro %}
|
||||
|
||||
{%- if conf.get('firstboot') %}
|
||||
|
|
Loading…
Reference in New Issue