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