Skip to content

Commit

Permalink
ffh.mesh_wireguard: fix [email protected]
Browse files Browse the repository at this point in the history
On some supernodes, this did not work on system boot. The vx-* 
interfaces were added to batman but directly removed again. This was 
because the interfaces were not up. Now we set them up before the vx-* 
is added to batman.

Discussed in #147.

#147 (comment)
  • Loading branch information
lemoer committed Feb 23, 2021
1 parent e770116 commit 5fc0673
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions roles/ffh.mesh_wireguard/templates/addtobatX.j2
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ After=sys-subsystem-net-devices-{{ vxlan_iface_prefix }}\x2d%i.device

[Service]
Type=oneshot
ExecStart=/sbin/ip link set {{ vxlan_iface_prefix }}-%i up
ExecStart=/bin/sh /usr/bin/wait_for_iface.sh {{ vxlan_iface_prefix }}-%i unknown_is_fine
ExecStart=/usr/sbin/batctl meshif bat%I if add {{ vxlan_iface_prefix }}-%i

Expand Down

0 comments on commit 5fc0673

Please sign in to comment.