fix: honor libvirt network config, preserve DHCP DNS with search-only NM config, and exact-match Xen VM names

This commit is contained in:
2026-02-11 14:00:20 +01:00
parent e5d2720bfe
commit 8c0716508e
4 changed files with 10 additions and 4 deletions

View File

@@ -48,7 +48,7 @@
{% endif %}
<interface type='network'>
<mac address="{{ virtualization_mac_address }}"/>
<source network='default'/>
<source network='{{ system_cfg.network if (system_cfg.network | default('' ) | string | length) > 0 else "default" }}'/>
<model type='virtio'/>
</interface>
{% if virtualization_tpm2_enabled %}