Use utun device on macOS (no tuntap kext needed)
This commit is contained in:
parent
c4e3a9e407
commit
be3d627bdb
2 changed files with 3 additions and 1 deletions
|
|
@ -1,6 +1,8 @@
|
|||
Name = {{ ansible_hostname | replace('-', '_') }}
|
||||
{% if (override_os_family is defined) | ternary(override_os_family,ansible_os_family) != 'Darwin' %}
|
||||
Device = /dev/net/tun
|
||||
{% elif ternary(override_os_family,ansible_os_family) == 'Darwin' %}
|
||||
DeviceType = utun
|
||||
{% endif %}
|
||||
{% if ansible_hostname | replace('-', '_') != tinc_central_host %}
|
||||
ConnectTo = {{ tinc_central_host }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue