Files
homelab-infra/terraform/netcore/core-net.tf
T
karpenokandCursor 13870d6399
ansible-core-net / deploy (push) Failing after 59s
ansible-ger-nod-02 / deploy (push) Successful in 25s
fix(core-net): не ломать Terraform из-за запрета на /dev/net/tun
Токен Proxmox не может пробросить устройство. Остальной стек панели ставится до роли NetBird, а команда для root@pam описана в bootstrap.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 16:57:19 +07:00

52 lines
849 B
Terraform

resource "proxmox_virtual_environment_container" "core_net" {
description = "Managed by Terraform: core-net (Traefik, Authentik)"
node_name = var.proxmox_node
vm_id = 902
unprivileged = true
started = true
initialization {
hostname = "core-net"
ip_config {
ipv4 {
address = "192.168.1.104/24"
gateway = "192.168.1.1"
}
}
user_account {
keys = var.ssh_public_keys
}
}
network_interface {
name = "eth0"
bridge = "vmbr10"
}
operating_system {
template_file_id = "local:vztmpl/debian-13-standard_13.6-1_amd64.tar.zst"
type = "debian"
}
cpu {
cores = 2
}
memory {
dedicated = 4096
swap = 1024
}
disk {
datastore_id = "local-lvm"
size = 20
}
features {
nesting = true
}
}