Add IPForward= support systemd_networkd role

pull/91/head
jeltz 2 years ago
parent 1a193e5dfb
commit 4ca24ac99c

@ -3,10 +3,11 @@
[Match]
Name={{ item.key }}
{% if not (item.value.link_local | default(true)) %}
[Network]
LinkLocalAddressing=no
{% endif %}
LinkLocalAddressing={{ item.value.link_local | default(true)
| ternary("yes", "no") }}
IPForward={{ item.value.forward | default(false)
| ternary("yes", "no") }}
{% for addr in item.value.ip_addrs | default([]) %}
[Address]

Loading…
Cancel
Save