fix(configuration): omit interface-name when not explicitly provided to avoid predictable naming mismatch

This commit is contained in:
sandwich committed 2026-02-21 08:29:24 +01:00
1 parent d84b867cef
commit 494f0b58b2
3 files changed
+5 -7

No files matched your search

+3
View File
@@ -2,7 +2,10 @@
id=LAN-{{ idx }}
uuid={{ configuration_net_uuid }}
type=ethernet
autoconnect-priority=10
{% if configuration_iface_name | length > 0 %}
interface-name={{ configuration_iface_name }}
{% endif %}
[ipv4]
{% set iface = configuration_iface %}