The Alpine boxes for libvirt don't seem to boot. When running vagrant up, it hangs waiting for the VM to get an IP address. The VM itself stops after the BIOS message "Booting from Hard Disk..." but it hasn't stopped completely because the cursor is still blinking. I tried changing machine_type and disk_bus to different values, but with no success. The problem occurs with at least Alpine 3.18 and 3.19.
Host versions:
Fedora 39
libvirt 9.7.0
QEMU 8.1.1
SeaBIOS 1.16.3
$ vagrant init roboxes/alpine319
$ vagrant up --provider libvirt
Bringing machine 'default' up with 'libvirt' provider...
==> default: Checking if box 'roboxes/alpine319' version '4.3.8' is up to date...
==> default: Creating image (snapshot of base box volume).
==> default: Creating domain with the following settings...
==> default: -- Name: alpine-test_default
==> default: -- Description: Source: ...
==> default: -- Domain type: kvm
==> default: -- Cpus: 2
==> default: -- Feature: acpi
==> default: -- Feature: apic
==> default: -- Feature: pae
==> default: -- Clock offset: utc
==> default: -- Memory: 2048M
==> default: -- Management MAC:
==> default: -- Loader:
==> default: -- Nvram:
==> default: -- Base box: roboxes/alpine319
==> default: -- Storage pool: default
==> default: -- Image(vda): /var/lib/libvirt/images/alpine-test_default.img, virtio, 128G
==> default: -- Disk driver opts: cache='default'
==> default: -- Kernel:
==> default: -- Initrd:
==> default: -- Graphics Type: vnc
==> default: -- Graphics Port: -1
==> default: -- Graphics IP: 127.0.0.1
==> default: -- Graphics Password: Not defined
==> default: -- Video Type: cirrus
==> default: -- Video VRAM: 256
==> default: -- Video 3D accel: false
==> default: -- Sound Type:
==> default: -- Keymap: en-us
==> default: -- TPM Backend: passthrough
==> default: -- TPM Path:
==> default: -- INPUT: type=mouse, bus=ps2
==> default: -- CHANNEL: type=unix, mode=
==> default: -- CHANNEL: target_type=virtio, target_name=org.qemu.guest_agent.0
==> default: Creating shared folders metadata...
==> default: Starting domain.
==> default: Waiting for domain to get an IP address...
The Alpine boxes for libvirt don't seem to boot. When running
vagrant up
, it hangs waiting for the VM to get an IP address. The VM itself stops after the BIOS message "Booting from Hard Disk..." but it hasn't stopped completely because the cursor is still blinking. I tried changingmachine_type
anddisk_bus
to different values, but with no success. The problem occurs with at least Alpine 3.18 and 3.19.Host versions: