Skip to content

Conversation

UriZafrir
Copy link

Please make sure you read the contributor documentation before opening a Pull Request.

on NixOS, i tried to create a VM for talos linux and encountered the following error

I compared to a machine not created with the provided and found the provider created a VM with machine of type pc-i440fx-10.0.

I then went ahead and added "machine = "pc-q35-10.0" " to my terraform.
then i got the error

│ Error: error defining libvirt domain: unsupported configuration: IDE controllers are unsupported for this QEMU binary or machine type
│ 
│   with libvirt_domain.vm["talos-1"],
│   on main.tf line 51, in resource "libvirt_domain" "vm":
│   51: resource "libvirt_domain" "vm" {
│

to which i added the lines in the commit to create a sata bus in the volume if the machine is of type q35.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant