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