network:
version: 2
ethernets:
{% for int in ubuntu_netplan_interfaces %}
{{ int.name }}:
dhcp4: {{ int.dhcp4 }}
mtu: {{ int.mtu }}
{% if int.dhcp_overrides | default(true) %}
dhcp4-overrides:
use-dns: false
use-routes: false
{% endif %}
{% endfor %}