summaryrefslogtreecommitdiff
path: root/roles/install_wireguard_backbone/templates/down.sh.j2
blob: 07325bf29869c8965c413ddef7f30656b0dd0265 (plain)
1
2
3
4
5
#!/bin/bash
{% for peer in wireguard_bb_peers %}
ip link set down dev bb{{ peer.name }}
ip link del bb{{ peer.name }} type ip6gretap
{% endfor %}