Adding 2nd scratch drive to downloader

This commit is contained in:
tolerryan
2026-08-13 06:28:37 +00:00
parent 1e78d1b17c
commit 9430d4ab3d
2 changed files with 16 additions and 0 deletions

View File

@@ -29,6 +29,12 @@ resource "proxmox_virtual_environment_container" "example_template" {
size = var.disk_size_gb # in GB size = var.disk_size_gb # in GB
} }
mount_point {
volume = var.datastore_id_download_tmp # <- Secondary disk
size = var.disk_size_gb_download_tmp # in GB
path = "/download_tmp"
}
# ---- Initialization ------------------------------------------------- # ---- Initialization -------------------------------------------------
initialization { initialization {
dns { dns {

View File

@@ -29,6 +29,16 @@ variable "disk_size_gb" {
default = 400 default = 400
} }
variable "datastore_id_download_tmp" {
type = string
default = "intelssd"
}
variable "disk_size_gb_download_tmp" {
type = string
default = "500G"
}
# --------------------------------------------------------------- # ---------------------------------------------------------------
# Initialization specifics # Initialization specifics
# --------------------------------------------------------------- # ---------------------------------------------------------------