Changed swap, console type and firewall options

This commit is contained in:
2025-07-31 14:48:01 +00:00
parent 6c78ed06cf
commit 77c51c7614
2 changed files with 7 additions and 1 deletions

2
.gitignore vendored
View File

@@ -2,4 +2,4 @@
*.hcl *.hcl
*.backup *.backup
*.tfstate *.tfstate
.terraform .terraform

View File

@@ -26,6 +26,7 @@ resource "proxmox_virtual_environment_container" "jenkins" {
memory { memory {
dedicated = 2048 dedicated = 2048
swap = 512
} }
disk { disk {
@@ -33,6 +34,10 @@ resource "proxmox_virtual_environment_container" "jenkins" {
size = 15 size = 15
} }
console {
enabled = true
type = "shell"
}
initialization { initialization {
dns { dns {
@@ -51,6 +56,7 @@ resource "proxmox_virtual_environment_container" "jenkins" {
network_interface { network_interface {
name = "eth0" name = "eth0"
firewall = true
} }
node_name = "homestrg1" node_name = "homestrg1"