forked from zentralwerk/network
bird: fix radv for subnets-inet6 ctxs
This commit is contained in:
parent
3c6fc16a90
commit
15c6f5708c
|
@ -17,11 +17,13 @@ protocol radv {
|
|||
interface "{{ iface }}" {
|
||||
min ra interval 3;
|
||||
max ra interval 10;
|
||||
{%- set subnet6 = pillar['subnets-inet6'][iface] %}
|
||||
{%- for ctx, subnets in pillar['subnets-inet6'].items() %}
|
||||
{%- set subnet6 = subnets[iface] %}
|
||||
prefix {{ subnet6 }} {
|
||||
preferred lifetime 20;
|
||||
valid lifetime 60;
|
||||
};
|
||||
{%- endfor %}
|
||||
{%- if conf.get('rdnss') %}
|
||||
{%- for value in conf['rdnss'] %}
|
||||
{%- set host = value.split('.')[0] %}
|
||||
|
|
Loading…
Reference in New Issue
Block a user