fix driver type

This commit is contained in:
Serge Logvinov
2023-05-12 07:25:30 +03:00
parent 4f316dc091
commit 1f8213d4ec
2 changed files with 9 additions and 8 deletions

View File

@@ -91,7 +91,7 @@ resource "proxmox_vm_qemu" "web" {
sockets = 1
cores = each.value.cpu
memory = each.value.mem
scsihw = "virtio-scsi-pci"
scsihw = "virtio-scsi-single"
vga {
memory = 0

View File

@@ -163,7 +163,7 @@ resource "proxmox_vm_qemu" "worker" {
sockets = 1
cores = each.value.cpu
memory = each.value.mem
scsihw = "virtio-scsi-pci"
scsihw = "virtio-scsi-single"
vga {
memory = 0
@@ -194,12 +194,13 @@ resource "proxmox_vm_qemu" "worker" {
backup = false
}
disk {
type = "scsi"
storage = var.proxmox_storage
size = "128G"
cache = "none"
ssd = 1
backup = false
type = "scsi"
storage = var.proxmox_storage
size = "128G"
cache = "none"
iothread = 1
ssd = 1
backup = false
}
lifecycle {