memory bump

This commit is contained in:
Ryan Toler
2026-03-28 16:13:39 +00:00
parent 30909d8ff6
commit a1857a6098
2 changed files with 11 additions and 4 deletions

View File

@@ -81,6 +81,11 @@ resource "proxmox_virtual_environment_container" "example_template" {
cores = var.cores
}
memory {
dedicated = var.memory
swap = var.swap
}
startup {
order = "3"
up_delay = "60"

View File

@@ -37,7 +37,9 @@ variable "ip_address" { default = "192.168.0.69/24" }
variable "gateway" { default = "192.168.0.1" }
variable "password" { default = "example" }
variable "cores" { default = 2 }
variable "memory" { defualt = 2048 } # Sets dedicated RAM to 2048 MB (2 GB)
variable "swap" { default = 1024 } # Sets swap space to 1024 MB (1 GB)
}
# ---------------------------------------------------------------
# Node & template file
# ---------------------------------------------------------------