Add IPForward= support systemd_networkd role
This commit is contained in:
parent
1a193e5dfb
commit
4ca24ac99c
1 changed files with 4 additions and 3 deletions
|
@ -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…
Reference in a new issue