provider "proxmox" { pm_api_url = var.pm_api_url pm_api_token_id = "${var.pm_user}!kpr-genesis" pm_api_token_secret = var.pm_token pm_tls_insecure = true } resource "proxmox_lxc" "bin" { target_node = var.node hostname = "bin" ostemplate = var.arch_template password = var.bin_lxc_password cores = 1 memory = 512 rootfs { storage = "local-lvm" size = "4G" } network { name = "eth0" bridge = "vmbr0" ip = "dhcp" } ssh_public_keys = file("${path.module}/../id_ed25519.pub") unprivileged = true features { nesting = true # allows Docker overlay #fuse = true # useful for Docker } }