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

@@ -76,6 +76,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

@@ -32,7 +32,7 @@ variable "disk_size_gb" {
variable "second_disk_enabled" {
type = bool
default = false
}
}`
variable "second_disk_datastore" {
type = string
@@ -48,6 +48,7 @@ variable "second_disk_size_gb" {
# Initialization specifics
# ---------------------------------------------------------------
variable "hostname" { default = "wikmd" }
variable "vm_id" = "56"
variable "ip_address" { default = "192.168.0.56/24" }
variable "gateway" { default = "192.168.0.1" }
variable "password" { default = "example" }