remove 2nd disks they do not work currently in bgp

This commit is contained in:
Ryan Toler
2026-03-19 06:30:44 +00:00
parent 0c5d96163a
commit 9ac5a99bee
6 changed files with 2 additions and 97 deletions

View File

@@ -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 {

View File

@@ -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
# ---------------------------------------------------------------