fix(bootstrap): RHEL 9 bootstrap from Arch ISO compatibility

- Generate resolv.conf from inventory DNS settings instead of copying
  host file (Arch ISO has systemd-resolved stub 127.0.0.53)
- Add XFS compat options for GRUB 2.06 and kernel 5.14 across LVM
  volumes, /boot partition, and data disks
- Mount API filesystems (proc, sys, dev) into chroot for RPM scriptlets
- Bypass GPG Sequoia validation with _pkgverify_level none
- Tolerate grub2-common scriptlet warnings
- Handle libvirt VM destroy gracefully during cleanup
This commit is contained in:
2026-02-20 16:45:29 +01:00
parent 603abe63cb
commit 09b3ed44ba
7 changed files with 52 additions and 5 deletions

View File

@@ -92,6 +92,7 @@
community.libvirt.virt:
name: "{{ hostname }}"
state: destroyed
failed_when: false
- name: Start the VM
community.libvirt.virt: