From bb17d97096e99f0f566a6054146b247eea2bf645 Mon Sep 17 00:00:00 2001 From: uvok cheetah Date: Fri, 1 Mar 2024 18:36:26 +0100 Subject: Split router and tinc config --- roles/router/templates/tinc-up.j2 | 9 --------- roles/router/templates/tinc.conf.j2 | 11 ----------- 2 files changed, 20 deletions(-) delete mode 100755 roles/router/templates/tinc-up.j2 delete mode 100644 roles/router/templates/tinc.conf.j2 (limited to 'roles/router/templates') diff --git a/roles/router/templates/tinc-up.j2 b/roles/router/templates/tinc-up.j2 deleted file mode 100755 index 8c26aa9..0000000 --- a/roles/router/templates/tinc-up.j2 +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh -ip link set $INTERFACE up -ip -6 addr flush dev $INTERFACE -ip addr add {{ tinc.address }} dev $INTERFACE -{% if tinc.extra_up is defined %} -{% for cmd in tinc.extra_up %} -{{ cmd }} -{% endfor %} -{% endif %} diff --git a/roles/router/templates/tinc.conf.j2 b/roles/router/templates/tinc.conf.j2 deleted file mode 100644 index b7011e1..0000000 --- a/roles/router/templates/tinc.conf.j2 +++ /dev/null @@ -1,11 +0,0 @@ -Name = {{ tinc.name }} -{% if tinc.listen_on is defined %} -AddressFamily = {{ tinc.listen_on }} -{% else %} -AddressFamily = ipv6 -{% endif %} -Interface = tn_int -Mode = switch -{% for conn in tinc.connections %} -ConnectTo = {{ conn }} -{% endfor %} -- cgit v1.2.3