host-passthrough cpu mode and scsi for the storage

This commit is contained in:
Lukas Greve
2025-09-07 20:10:00 +02:00
parent 778711fdfb
commit b1b7a6e311

View File

@@ -5,11 +5,12 @@ resource "libvirt_domain" "domain" {
vcpu = var.vcpu
cloudinit = libvirt_cloudinit_disk.commoninit.id
cpu {
mode = "host-model"
mode = "host-passthrough"
}
disk {
volume_id = element(libvirt_volume.vm_disk.*.id, count.index)
scsi = "true"
}
console {