Fix ISO mounting for VMware Hypervisor

This commit is contained in:
2024-10-30 20:25:41 +01:00
parent 173ecd299b
commit e5660b0ba7
2 changed files with 16 additions and 2 deletions

View File

@@ -30,11 +30,17 @@
name: "{{ hostname }}"
cdrom:
- controller_number: 0
unit_number: 1
unit_number: 0
controller_type: sata
type: iso
iso_path: "{{ boot_iso }}"
state: absent
- controller_number: 0
unit_number: 1
controller_type: sata
type: iso
iso_path: "{{ rhel_iso | default(omit) }}"
state: absent
- name: Remove Archiso and cloud-init disks
when: hypervisor == "libvirt"