diff --git a/templates/network/wg0.netdev.j2 b/templates/network/wg0.netdev.j2 index 6bd6f89..2f357b5 100644 --- a/templates/network/wg0.netdev.j2 +++ b/templates/network/wg0.netdev.j2 @@ -14,4 +14,7 @@ PrivateKeyFile={{ vpn_server_key_path }} PublicKey={{ peer.public_key }} PresharedKeyFile={{ vpn_preshared_path }} AllowedIPs={{ peer.ip }}/32 +{% if not loop.last %} + +{% endif %} {% endfor %}