Initial Commit

This commit is contained in:
2025-10-02 19:57:57 +10:00
parent 0d81d80e28
commit 47d6aceca2
9 changed files with 91 additions and 35 deletions

43
opentofu/200-gtar.tf Normal file
View File

@ -0,0 +1,43 @@
resource "proxmox_lxc" "gtar" {
target_node = "pve"
vmid = "200"
hostname = "gtar"
ostemplate = "local:vztmpl/debian-13-standard_13.1-1_amd64.tar.zst"
password = var.ci_password
unprivileged = false
ostype = "debian"
onboot = true
start = true
startup = "order=1000"
tags = "gitea;container"
ssh_public_keys = <<EOF
${var.ssh_key}
EOF
memory = "4096"
swap = "512"
rootfs {
storage = "local-zfs"
size = "8G"
}
features {
fuse = true
nesting = true
mount = "nfs;cifs"
}
network {
name = "eth0"
bridge = "vmbr0"
ip = "10.10.10.8/24"
gw = "10.10.10.1"
tag = 10
ip6 = "auto"
}
}