Add RHEL8 and RHEL9 support

This commit is contained in:
sandwich committed 2024-10-30 00:29:46 +01:00
1 parent f8ba5c41db
commit 147430b36e
16 files changed
+176 -60

No files matched your search

+7
View File
@@ -37,6 +37,13 @@
<source file="{{ vm_path | default('/var/lib/libvirt/images/') }}{{ hostname }}-cloudinit.iso"/>
<target dev="sdb" bus="sata"/>
</disk>
{% if rhel_iso is defined %}
<disk type="file" device="cdrom">
<driver name="qemu" type="raw"/>
<source file="{{ rhel_iso }}"/>
<target dev="sdc" bus="sata"/>
</disk>
{% endif %}
<interface type='network'>
<mac address="{{ mac_address_output.stdout }}"/>
<source network='default'/>