fix(bootstrap): resolve interface-only network, sshd penalties, dnf scriptlets, and EFI cleanup

This commit is contained in:
2026-04-01 15:07:58 +02:00
parent 4b38754f8b
commit 322cc0b1ce
6 changed files with 52 additions and 4 deletions

View File

@@ -72,6 +72,12 @@
| trim
}}
- name: Ensure boot device is set to hard disk in VM XML
when: "'<boot ' not in cleanup_libvirt_domain_xml_clean"
ansible.builtin.set_fact:
cleanup_libvirt_domain_xml_clean: >-
{{ cleanup_libvirt_domain_xml_clean | regex_replace('(</type>)', '\1\n <boot dev="hd"/>') }}
- name: Update VM definition without installer media
community.libvirt.virt:
command: define