Skip to content

Commit

Permalink
Use 'virt' for latest
Browse files Browse the repository at this point in the history
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 <sgoveas@redhat.com>
  • Loading branch information
sgoveas committed Jul 30, 2024
1 parent 586ec14 commit 62be830
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vm-setup/roles/libvirt/templates/baremetalvm.xml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
</os>
{% else %}
<os firmware='efi'>
<type arch='aarch64' machine='virt-rhel8.2.0'>hvm</type>
<type arch='aarch64' machine='virt'>hvm</type>
</os>
{% endif %}

Expand Down

0 comments on commit 62be830

Please sign in to comment.