Skip to content

Commit 431d9e5

Browse files
ForsakenHarmonypatchhoernchen
andauthored
add cwace/openarena server (#19)
Co-authored-by: patchhoernchen <[email protected]>
1 parent dfcfd12 commit 431d9e5

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

locals.tf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ locals {
1515
mecci = {
1616
ssh_key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILFaAXNhs2IkZQd059lPM+3h03siLRBJRBD8ouiAxsvL [email protected]"
1717
}
18+
phelix = {
19+
ssh_key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINeEBqbuKi5aOXwVEaEVCEPE8g1g1su+FxSPPswmEFaw [email protected]"
20+
}
1821

1922
}
2023

proxmox/108-cwace.tf

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
module "cwace" {
2+
source = "../modules/vm"
3+
node = var.node
4+
pool = var.pool
5+
6+
name = "cwace"
7+
vm_id = "108"
8+
9+
cores = 4
10+
memory = 4096
11+
12+
clone = data.proxmox_virtual_environment_vm.debian_cloud_vm_template.vm_id
13+
14+
disk = {
15+
// gigabytes
16+
size = 32
17+
storage = var.storage.disk
18+
}
19+
20+
network = {
21+
bridge = var.network.bridge
22+
internal_bridge = proxmox_virtual_environment_network_linux_bridge.internal_bridge.name
23+
}
24+
25+
admins = [
26+
local.users["phelix"]
27+
]
28+
}

0 commit comments

Comments
 (0)