b9c7d79089
Name option is not a valid one for systemd.link [1] while it is for systemd.network [2] though having same meaning. This basically resulted in link files being just ignored by udevadm and were not loaded properly after reboot [1] https://www.freedesktop.org/software/systemd/man/latest/systemd.link.html#OriginalName= [2] https://www.freedesktop.org/software/systemd/man/latest/systemd.network.html#Name= Closes-Bug: #1896589 Change-Id: If82946b7f5ad3c618606110576c586632f9bbd08
14 lines
236 B
Django/Jinja
14 lines
236 B
Django/Jinja
# {{ ansible_managed }}
|
|
|
|
[Match]
|
|
OriginalName={{ item.1.interface }}
|
|
|
|
[Link]
|
|
{% if item.1.mtu is defined %}
|
|
MTUBytes={{ item.1.mtu }}
|
|
{% endif %}
|
|
|
|
{% for key, value in systemd_networkd_link.items() %}
|
|
{{ key }}={{ value }}
|
|
{% endfor %}
|