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]
|
[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]
|
||||||
|
|
Loading…
Reference in a new issue