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] [Match]
Name={{ item.key }} Name={{ item.key }}
{% if not (item.value.link_local | default(true)) %}
[Network] [Network]
LinkLocalAddressing=no LinkLocalAddressing={{ item.value.link_local | default(true)
{% endif %} | ternary("yes", "no") }}
IPForward={{ item.value.forward | default(false)
| ternary("yes", "no") }}
{% for addr in item.value.ip_addrs | default([]) %} {% for addr in item.value.ip_addrs | default([]) %}
[Address] [Address]