From 62be8305720509325000e89d2ca4d80b795421fb Mon Sep 17 00:00:00 2001 From: Steeve Goveas Date: Thu, 25 Jul 2024 15:47:29 +0100 Subject: [PATCH] Use 'virt' for latest The versioned machine types can disappear in future versions of libvirt, and the one in use 'virt-rhel8.2.0' is no longer available. "virt" means "the latest version" ``` "msg": "libvirtError: unsupported configuration: Emulator '/usr/libexec/qemu-kvm' does not support machine type 'virt-rhel8.2.0'" ``` Signed-off-by: Steeve Goveas --- vm-setup/roles/libvirt/templates/baremetalvm.xml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm-setup/roles/libvirt/templates/baremetalvm.xml.j2 b/vm-setup/roles/libvirt/templates/baremetalvm.xml.j2 index b5834eb6f..da91e9723 100644 --- a/vm-setup/roles/libvirt/templates/baremetalvm.xml.j2 +++ b/vm-setup/roles/libvirt/templates/baremetalvm.xml.j2 @@ -22,7 +22,7 @@ {% else %} - hvm + hvm {% endif %}