diff --git a/templates/70-ansible.yaml.j2 b/templates/70-ansible.yaml.j2 index 6909e92..1e6c662 100644 --- a/templates/70-ansible.yaml.j2 +++ b/templates/70-ansible.yaml.j2 @@ -5,5 +5,10 @@ network: {{ int.name }}: dhcp4: {{ int.dhcp4 }} mtu: {{ int.mtu }} +{% if int.dhcp_overrides | default(true) %} + dhcp4-overrides: + use-dns: false + use-routes: false +{% endif %} {% endfor %}