fix(virtualization): add XML safety attributes and switch xen to virtio

This commit is contained in:
2026-02-20 20:18:49 +01:00
parent 524356cf8d
commit 9f9a4b38b8
4 changed files with 10 additions and 5 deletions

View File

@@ -12,7 +12,7 @@ disk = [
]
vif = [
{%- for iface in system_cfg.network.interfaces -%}
'bridge={{ iface.bridge }},model=e1000'{% if not loop.last %}, {% endif %}
'bridge={{ iface.bridge }},model=virtio'{% if not loop.last %}, {% endif %}
{%- endfor -%}
]
boot = "{{ 'dc' if xen_installer_media_enabled | bool else 'c' }}"