mirror of
https://github.com/tolerryan/NewWatari.git
synced 2026-10-12 09:07:42 +00:00
remove 2nd disks they do not work currently in bgp
This commit is contained in:
@@ -29,24 +29,6 @@ resource "proxmox_virtual_environment_container" "example_template" {
|
||||
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_point {
|
||||
# volume = var.mount_volume
|
||||
# size = "4G"
|
||||
# path = "/mnt/local"
|
||||
#}
|
||||
|
||||
# ---- Initialization -------------------------------------------------
|
||||
initialization {
|
||||
dns {
|
||||
|
||||
@@ -29,21 +29,6 @@ variable "disk_size_gb" {
|
||||
default = 64
|
||||
}
|
||||
|
||||
variable "second_disk_enabled" {
|
||||
type = bool
|
||||
default = false
|
||||
}
|
||||
|
||||
variable "second_disk_datastore" {
|
||||
type = string
|
||||
default = "local-lvm"
|
||||
}
|
||||
|
||||
variable "second_disk_size_gb" {
|
||||
type = number
|
||||
default = 8
|
||||
}
|
||||
|
||||
# ---------------------------------------------------------------
|
||||
# Initialization specifics
|
||||
# ---------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user