Update roles/netplan/templates/netplan.yaml
continuous-integration/drone/push Build was killed Details

This commit is contained in:
Torma Kristóf 2024-03-30 14:20:34 +01:00
parent 43249b4aff
commit c269796d99
1 changed files with 1 additions and 1 deletions

View File

@ -6,9 +6,9 @@ network:
{{ ansible_default_ipv4.interface }}:
dhcp4: true
dhcp-identifier: mac
{% if netplan.default_gateway is defined and netplan.default_gateway|length > 0 %}
dhcp4-overrides:
use-routes: false
{% if netplan.default_gateway is defined and netplan.default_gateway|length > 0 %}
gateway4: {{netplan.default_gateway}}
{% endif %}
{% if netplan.additionalinterfaces is defined and netplan.additionalinterfaces|length > 0 %}