mirror of
https://github.com/tolerryan/NewWatari.git
synced 2026-10-12 08:08:12 +00:00
@@ -29,6 +29,15 @@ resource "proxmox_virtual_environment_container" var.hostname {
|
|||||||
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