summaryrefslogtreecommitdiff
path: root/roles/setup_batman/templates
diff options
context:
space:
mode:
authorNiklas Yann Wettengel <niyawe@niyawe.de>2017-03-17 22:35:38 +0100
committerNiklas Yann Wettengel <niyawe@niyawe.de>2017-03-17 22:35:38 +0100
commit4b97c64f947662cd4e2c233a51114c1ff3a9815c (patch)
tree07882522000071bfe7ffe7b10e773198bd6b06dd /roles/setup_batman/templates
parent711f968dda1acca7d6b2a86e28a1535449938941 (diff)
updated setup_fastd playbook
added features: - install_bind - install_dhcp - install_fastd - setup_batman
Diffstat (limited to 'roles/setup_batman/templates')
-rw-r--r--roles/setup_batman/templates/netctl_bat0.j27
1 files changed, 7 insertions, 0 deletions
diff --git a/roles/setup_batman/templates/netctl_bat0.j2 b/roles/setup_batman/templates/netctl_bat0.j2
new file mode 100644
index 0000000..e48c5b8
--- /dev/null
+++ b/roles/setup_batman/templates/netctl_bat0.j2
@@ -0,0 +1,7 @@
+Connection=ethernet
+Interface=bat0
+IP=static
+IP6=static
+Address6=({{ bat0_ipv6 }}/64)
+Address=({{ bat0_ipv4 }}/16)
+ExecUpPost=/usr/local/bin/ffmyk-iproute.sh