Vagrant box rockylinux/8 v7.0.0 with libvirt provider fails to boot

I’ve tried to start a new Vagrant box from but it never boots.

Version info:
OS: Fedora release 37 (Thirty Seven)
Vagrant: Vagrant 2.2.19


Vagrant.configure("2") do |config| = "rockylinux/8"
  config.vm.box_version = "7.0.0"

Provider: libvirt

The box never boots:

Where/how can I raise an issue regarding this bug?

If you have a way of telling vagrant/libvirt to boot using UEFI, it’ll likely boot.


  • loader - Sets path to custom UEFI loader.

I came across Support UEFI boot in ibvirt-manager that mentions edk2-ovmf which should be installed on the hypervisor host. Setting loader value to /usr/share/OVMF/OVMF_CODE.fd got the box to boot.


  config.vm.provider "libvirt" do |domain|
    domain.loader = "/usr/share/OVMF/OVMF_CODE.fd"

Thanks for the hint.

You’re welcome. Sorry that you had to deal with that - I think we haven’t rebuilt our vagrant images like our cloud images to support both BIOS and UEFI booting simultaneously (in particular for libvirt). Through the week when I get a moment I’ll see what we can do about that so this gotcha won’t come up again.


For what it’s worth, the generic/rocky8 v4.2.4 box works perfectly on Vagrant/libvirt.