diff options
author | uvok cheetah | 2025-02-09 17:57:14 +0100 |
---|---|---|
committer | uvok cheetah | 2025-02-09 17:57:14 +0100 |
commit | a3ee42d1dde090c5baad512ff8707f7e2c068433 (patch) | |
tree | a619ef2f51c548a235b188cac19c7cf337686424 /roles/tinc/templates/tinc-up.j2 | |
parent | bb989a2148686d1eb4f49b5aa2597c5162436196 (diff) |
Diffstat (limited to 'roles/tinc/templates/tinc-up.j2')
-rwxr-xr-x | roles/tinc/templates/tinc-up.j2 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/tinc/templates/tinc-up.j2 b/roles/tinc/templates/tinc-up.j2 index 92aa782..ea81512 100755 --- a/roles/tinc/templates/tinc-up.j2 +++ b/roles/tinc/templates/tinc-up.j2 @@ -1,11 +1,11 @@ #!/bin/sh ip link set $INTERFACE up ip -6 addr flush dev $INTERFACE -{% for addr in tinc.address %} +{% for addr in tinc_options.address %} ip addr add {{ addr }} dev $INTERFACE {% endfor %} -{% if tinc.extra_up is defined %} -{% for cmd in tinc.extra_up %} +{% if tinc_options.extra_up is defined %} +{% for cmd in tinc_options.extra_up %} {{ cmd }} {% endfor %} {% endif %} |