test remove all disks

This commit is contained in:
tolerryan
2025-02-07 00:46:36 -06:00
parent 4babe966b2
commit fdba12f98c

54
nas.tf
View File

@@ -23,7 +23,7 @@ resource "proxmox_vm_qemu" "nas" {
# VM Memory Settings
memory = 4024
disks {
#disks {
#ide {
# ide0 {
# cdrom {
@@ -31,37 +31,37 @@ resource "proxmox_vm_qemu" "nas" {
# }
# }
#}
virtio {
#virtio {
#virtio2 {
# cdrom {
# iso = "cephfs:iso/debian-12.9.0-amd64-netinst.iso"
# }
#}
virtio0 {
#This must match the template's drive or it will not use template's drive as root
#root disk
disk{
asyncio = "native"
discard = "true"
iothread = "true"
size = "42G"
storage = "local-lvm"
format = "raw"
}
}
virtio1 {
#bulk disk
disk {
asyncio = "native"
backup = "false"
iothread = "true"
size = "8T"
storage = "local-lvm"
format = "raw"
}
}
}
}
#virtio0 {
# #This must match the template's drive or it will not use template's drive as root
# #root disk
# disk{
# asyncio = "native"
# discard = "true"
# iothread = "true"
# size = "42G"
# storage = "local-lvm"
# format = "raw"
# }
#}
#virtio1 {
# #bulk disk
# disk {
# asyncio = "native"
# backup = "false"
# iothread = "true"
# size = "8T"
# storage = "local-lvm"
# format = "raw"
# }
#}
#}
#}
# VM Network Settings
network {