You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The use of libvirt_cloudinit_disk is no longer possible with a Q35 machine that must boot in UEFI mode.
Description of Issue/Question
Setup
Hello everyone,
I’m using a Q35 machine to run AlmaLinux 9.5 and the resource libvirt_cloudinit_disk named commoninit.
However, I’m encountering the following error:
Error: error defining libvirt domain: unsupported configuration: IDE controllers are not supported for this QEMU binary or machine type
│
│ with module.machine["hme-al9-01v"].libvirt_domain.vm,
│ on .terraform/modules/machine/main.tf line 63, in resource "libvirt_domain" "vm":
│ 63: resource "libvirt_domain" "vm" {
It seems that IDE controllers are not allowed for Q35 machines, which causes issues when trying to mount a CloudInit ISO, for example.
Does anyone have a solution or workaround for this limitation?
Thank you in advance for your help!
Steps to Reproduce Issue
prepare the hcl code for terraform or opentofu
Boot an AlmaLinux 9.5 VM using the official QCOW2 image.
Configure the VM to use UEFI with OVMF firmware.
Attempt to inject cloud-init configuration into the VM.
Additional information:
Is it possible to provide a choice of driver for mounting an ISO drive in the cloudinit block?
The text was updated successfully, but these errors were encountered:
System Information
Linux distribution
fedora41
Opentofu version
Provider and libvirt versions
Checklist
Description of Issue/Question
Setup
Hello everyone,
I’m using a Q35 machine to run AlmaLinux 9.5 and the resource libvirt_cloudinit_disk named commoninit.
However, I’m encountering the following error:
Error: error defining libvirt domain: unsupported configuration: IDE controllers are not supported for this QEMU binary or machine type
│
│ with module.machine["hme-al9-01v"].libvirt_domain.vm,
│ on .terraform/modules/machine/main.tf line 63, in resource "libvirt_domain" "vm":
│ 63: resource "libvirt_domain" "vm" {
It seems that IDE controllers are not allowed for Q35 machines, which causes issues when trying to mount a CloudInit ISO, for example.
Does anyone have a solution or workaround for this limitation?
Thank you in advance for your help!
Steps to Reproduce Issue
Additional information:
Is it possible to provide a choice of driver for mounting an ISO drive in the cloudinit block?
The text was updated successfully, but these errors were encountered: