From b1b7a6e31132b852d8c7cf1ce22d15f79e43c380 Mon Sep 17 00:00:00 2001 From: Lukas Greve Date: Sun, 7 Sep 2025 20:10:00 +0200 Subject: [PATCH] host-passthrough cpu mode and scsi for the storage --- multiple/shared_modules/domain.tf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/multiple/shared_modules/domain.tf b/multiple/shared_modules/domain.tf index cd1da04..70bf6a4 100644 --- a/multiple/shared_modules/domain.tf +++ b/multiple/shared_modules/domain.tf @@ -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 {