mirror of
https://github.com/tolerryan/NewWatari.git
synced 2026-10-12 10:07:42 +00:00
remove 2nd disk
This commit is contained in:
@@ -29,15 +29,6 @@ resource "proxmox_virtual_environment_container" "example_template" {
|
|||||||
size = var.disk_size_gb # in GB
|
size = var.disk_size_gb # in GB
|
||||||
}
|
}
|
||||||
|
|
||||||
dynamic "disk" { # <-- optional second disk
|
|
||||||
for_each = var.second_disk_enabled ? [1] : []
|
|
||||||
|
|
||||||
content {
|
|
||||||
datastore_id = var.second_disk_datastore
|
|
||||||
size = var.second_disk_size_gb
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
# ------------------------------------------------------------------
|
# ------------------------------------------------------------------
|
||||||
# Mount points – uncomment and set if you need to mount a volume.
|
# Mount points – uncomment and set if you need to mount a volume.
|
||||||
# ------------------------------------------------------------------
|
# ------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user