From 43258848bb559437a266913dd80d40cf59ca9d98 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 e1a8edf1..43313665 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