Add IPForward= support systemd_networkd role

This commit is contained in:
jeltz 2022-01-02 16:51:31 +01:00
parent 1a193e5dfb
commit 4ca24ac99c

View file

@ -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]