mirror of
https://github.com/tolerryan/NewWatari.git
synced 2026-10-12 15:27:42 +00:00
updating memory
This commit is contained in:
@@ -81,6 +81,12 @@ resource "proxmox_virtual_environment_container" "example_template" {
|
|||||||
cores = var.cores
|
cores = var.cores
|
||||||
}
|
}
|
||||||
|
|
||||||
|
memory {
|
||||||
|
dedicated = var.memory
|
||||||
|
swap = var.swap
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
startup {
|
startup {
|
||||||
order = "3"
|
order = "3"
|
||||||
up_delay = "60"
|
up_delay = "60"
|
||||||
|
|||||||
@@ -36,6 +36,8 @@ variable "hostname" { default = "wikmd" }
|
|||||||
variable "ip_address" { default = "192.168.0.56/24" }
|
variable "ip_address" { default = "192.168.0.56/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 "swap" { default = 1024 } # Sets swap space to 1024 MB (1 GB)
|
||||||
variable "cores" { default = 1 }
|
variable "cores" { default = 1 }
|
||||||
|
|
||||||
# ---------------------------------------------------------------
|
# ---------------------------------------------------------------
|
||||||
|
|||||||
@@ -81,6 +81,12 @@ resource "proxmox_virtual_environment_container" "example_template" {
|
|||||||
cores = var.cores
|
cores = var.cores
|
||||||
}
|
}
|
||||||
|
|
||||||
|
memory {
|
||||||
|
dedicated = var.memory
|
||||||
|
swap = var.swap
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
startup {
|
startup {
|
||||||
order = "3"
|
order = "3"
|
||||||
up_delay = "60"
|
up_delay = "60"
|
||||||
|
|||||||
@@ -36,6 +36,8 @@ variable "hostname" { default = "navidrome" }
|
|||||||
variable "ip_address" { default = "192.168.0.12/24" }
|
variable "ip_address" { default = "192.168.0.12/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 "swap" { default = 1024 } # Sets swap space to 1024 MB (1 GB)
|
||||||
variable "cores" { default = 3 }
|
variable "cores" { default = 3 }
|
||||||
|
|
||||||
# ---------------------------------------------------------------
|
# ---------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user