summaryrefslogtreecommitdiff
path: root/roles/setup_batman/templates/netctl_bat.j2
blob: 16937759730895b4a2113a3b870d31f329418986 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Connection=ethernet
Interface=bat{{ item.name }}
{% if item.net4 is defined %}
IP=static
IP6=static
Address6=({{ item.bat_ipv6 }}/64)
Address=({{ item.bat_ipv4 }}/{{ item.bat_ipv4_cidr }})
{% else %}
IP=no
IP6=no
{% endif %}
ExecUpPost=/usr/local/bin/ffmyk-iproute{{ item.name }}-up.sh
ExecDownPre=/usr/local/bin/ffmyk-iproute{{ item.name }}-down.sh