mirror of
https://github.com/tolerryan/NewWatari.git
synced 2026-10-12 08:08:12 +00:00
add media disk to grail
This commit is contained in:
@@ -30,6 +30,11 @@ resource "proxmox_virtual_environment_container" "example_template" {
|
|||||||
size = var.disk_size_gb # in GB
|
size = var.disk_size_gb # in GB
|
||||||
}
|
}
|
||||||
|
|
||||||
|
disk {
|
||||||
|
datastore_id = var.datastore_id_media # <- secondary disk
|
||||||
|
size = var.disk_size_gb_media # in 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.
|
||||||
# ------------------------------------------------------------------
|
# ------------------------------------------------------------------
|
||||||
|
|||||||
@@ -29,6 +29,15 @@ variable "disk_size_gb" {
|
|||||||
default = 64
|
default = 64
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "datastore_id_media" {
|
||||||
|
type = string
|
||||||
|
default = "watari"
|
||||||
|
}
|
||||||
|
|
||||||
|
variable "disk_size_gb_media" {
|
||||||
|
type = number
|
||||||
|
default = 10000
|
||||||
|
}
|
||||||
# ---------------------------------------------------------------
|
# ---------------------------------------------------------------
|
||||||
# Initialization specifics
|
# Initialization specifics
|
||||||
# ---------------------------------------------------------------
|
# ---------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user