Adding vm_ids to each container

This commit is contained in:
tolerryan
2026-07-27 03:44:12 +00:00
parent 7a9cd5a1b2
commit 6a7b788a97
24 changed files with 83 additions and 3 deletions

View File

@@ -67,6 +67,8 @@ resource "proxmox_virtual_environment_container" "example_template" {
node_name = var.node_name
vm_id = var.vm_id
operating_system {
template_file_id = var.template_file_id
type = "debian"

View File

@@ -16,6 +16,11 @@ variable "nesting_enabled" {
default = true
}
variable "vm_id" {
type = number
default = 100
}
# ---------------------------------------------------------------
# Disk sizes (primary + optional)
# ---------------------------------------------------------------
@@ -33,6 +38,7 @@ variable "disk_size_gb" {
# Initialization specifics
# ---------------------------------------------------------------
variable "hostname" { default = "n8n" }
variable "vm_id" = "69"
variable "ip_address" { default = "192.168.0.69/24" }
variable "gateway" { default = "192.168.0.1" }
variable "password" { default = "example" }