This commit is contained in:
counterweight 2025-12-08 10:34:04 +01:00
parent c14d61d090
commit 0b578ee738
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C
11 changed files with 779 additions and 929 deletions

View file

@ -73,16 +73,6 @@ resource "proxmox_vm_qemu" "vm" {
# optional flags like iothread/ssd/discard differ by provider versions; keep minimal
}
dynamic "disk" {
for_each = try(each.value.data_disks, [])
content {
slot = try(disk.value.slot, format("scsi%s", tonumber(disk.key) + 1))
type = "disk"
storage = try(disk.value.storage, var.zfs_storage_name)
size = "${disk.value.size_gb}G"
}
}
# Cloud-init CD-ROM so ipconfig0/sshkeys apply
disk {
slot = "ide2"