mirror of
https://github.com/tolerryan/NewWatari.git
synced 2026-10-12 07:28:12 +00:00
incrase memory and cpi alotment
This commit is contained in:
@@ -70,6 +70,15 @@ resource "proxmox_virtual_environment_container" "example_template" {
|
|||||||
"terraform",
|
"terraform",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
cpu {
|
||||||
|
cores = var.cores
|
||||||
|
}
|
||||||
|
|
||||||
|
memory {
|
||||||
|
dedicated = var.memory
|
||||||
|
swap = var.swap
|
||||||
|
}
|
||||||
|
|
||||||
startup {
|
startup {
|
||||||
order = "3"
|
order = "3"
|
||||||
up_delay = "60"
|
up_delay = "60"
|
||||||
|
|||||||
@@ -37,6 +37,8 @@ variable "vm_id" { default = "160" }
|
|||||||
variable "ip_address" { default = "192.168.0.60/24" }
|
variable "ip_address" { default = "192.168.0.60/24" }
|
||||||
variable "gateway" { default = "192.168.0.1" }
|
variable "gateway" { default = "192.168.0.1" }
|
||||||
variable "password" { default = "example" }
|
variable "password" { default = "example" }
|
||||||
|
variable "memory" { default = 2048 } # Sets dedicated RAM to 2048 MB (2 GB)
|
||||||
|
variable "cores" { default = 3 }
|
||||||
|
|
||||||
# ---------------------------------------------------------------
|
# ---------------------------------------------------------------
|
||||||
# Node & template file
|
# Node & template file
|
||||||
|
|||||||
Reference in New Issue
Block a user