netplan interface: dhcp override options.
This commit is contained in:
parent
66e12d354b
commit
a40edb9fe3
|
@ -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 %}
|
||||
|
||||
|
|
Loading…
Reference in New Issue