mirror of
https://github.com/tolerryan/NewWatari.git
synced 2026-10-12 09:57:42 +00:00
Adding vm_ids to each container
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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" }
|
||||
|
||||
Reference in New Issue
Block a user