diff options
author | Christian Pointner <equinox@spreadspace.org> | 2021-01-23 22:17:02 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2021-01-23 22:17:02 +0100 |
commit | aefa7a4f57f91ed62ca166ecf5fdfc2eacc04f6a (patch) | |
tree | f7bb813720bc5198cbd2c172ae6136f2927eab3e /roles/wireguard/p2p/templates/systemd.netdev.j2 | |
parent | add etherwake and wakeonlan to ch-equinox-(ws|t450s) (diff) |
move wireguard to network sub-dir
Diffstat (limited to 'roles/wireguard/p2p/templates/systemd.netdev.j2')
-rw-r--r-- | roles/wireguard/p2p/templates/systemd.netdev.j2 | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/roles/wireguard/p2p/templates/systemd.netdev.j2 b/roles/wireguard/p2p/templates/systemd.netdev.j2 deleted file mode 100644 index 04abfa1d..00000000 --- a/roles/wireguard/p2p/templates/systemd.netdev.j2 +++ /dev/null @@ -1,26 +0,0 @@ -[NetDev] -Name={{ wireguard_p2p_interface.name }} -Kind=wireguard -{% if 'description' in wireguard_p2p_interface %} -Description={{ wireguard_p2p_interface.description }} -{% endif %} - - -[WireGuard] -PrivateKey={{ wireguard_p2p_interface.priv_key }} -{% if 'listen_port' in wireguard_p2p_interface %} -ListenPort={{ wireguard_p2p_interface.listen_port }} -{% endif %} - - -[WireGuardPeer] -PublicKey={{ wireguard_p2p_peer.pub_key }} -{% for ip in wireguard_p2p_peer.allowed_ips %} -AllowedIPs={{ ip }} -{% endfor %} -{% if 'endpoint' in wireguard_p2p_peer %} -Endpoint={{ wireguard_p2p_peer.endpoint.host }}:{{ wireguard_p2p_peer.endpoint.port | default(51820) }} -{% endif %} -{% if 'keepalive_interval' in wireguard_p2p_peer %} -PersistentKeepalive={{ wireguard_p2p_peer.keepalive_interval }} -{% endif %} |