2921156fd1
The link options being set within the network files, which functional, does not expose all of the link capabilities we have within a specific link file. This change implements link files per network interface giving the user the ability to customize links as they need. Change-Id: Ie999c541a6a566141e81c6d9f95b8a30bbbefa8c Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
14 lines
228 B
Django/Jinja
14 lines
228 B
Django/Jinja
# {{ ansible_managed }}
|
|
|
|
[Match]
|
|
Name={{ 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 %}
|