diff options
Diffstat (limited to 'roles/wireguard/templates/hostname.j2')
-rw-r--r-- | roles/wireguard/templates/hostname.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/wireguard/templates/hostname.j2 b/roles/wireguard/templates/hostname.j2 index 3903ccb..8938320 100644 --- a/roles/wireguard/templates/hostname.j2 +++ b/roles/wireguard/templates/hostname.j2 @@ -2,7 +2,7 @@ inet 10.10.0.1 255.255.255.0 inet6 fd00:10:10::1 !/usr/local/bin/wireguard-go -f tun0 & !/bin/sleep 2 -!/usr/local/bin/wg setconf tun0 /etc/wireguard/{{ _i.dcontroller }}.conf +!/usr/local/bin/wg setconf tun0 /etc/wireguard/{{ global.dcontroller }}.conf !/bin/sleep 2 !/sbin/route add -inet 10.10.0.0/24 10.10.0.1 !/bin/sleep 2 |