From 13f29ce5f74bba0376e04189e757cb9718cf2f93 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Tue, 18 Apr 2023 14:34:03 +0200 Subject: [PATCH] Added internet_interfaces variable --- roles/application-wireguard/templates/set-mtu.sh.j2 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/roles/application-wireguard/templates/set-mtu.sh.j2 b/roles/application-wireguard/templates/set-mtu.sh.j2 index e1a8edf..4331366 100644 --- a/roles/application-wireguard/templates/set-mtu.sh.j2 +++ b/roles/application-wireguard/templates/set-mtu.sh.j2 @@ -1,3 +1,4 @@ #!/bin/bash -ip li set mtu 1400 dev eth0 -ip li set mtu 1400 dev wlo1 \ No newline at end of file +{% for internet_interface in internet_interfaces %} +ip li set mtu 1400 dev {{internet_interface}} +{% endfor %} \ No newline at end of file