Files
Terraform/archivewarrior-2.tf
2025-10-16 22:12:37 -05:00

41 lines
886 B
HCL

resource "proxmox_lxc" "archivewarrior2" {
target_node = "ryuk"
hostname = "archivewarrior2"
vmid = 227
ostemplate = "cephfs:vztmpl/debian-13-standard_13.1-2_amd64.tar.zst"
password = "terraform"
unprivileged = true
cores = 6
memory = 8256
swap = 1024
start = true
tags = "terraform;deb13"
nameserver = "192.168.0.150"
ssh_public_keys = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINFw70PrMsilcsqCrwW1I6PAt3anQbhmVg+t/HUfomug ryan@mxDesktop"
features {
nesting = true
}
rootfs {
storage = "local-lvm"
size = "128G"
}
network {
name = "eth0"
bridge = "vmbr0"
ip = "192.168.0.150/24"
gw = "192.168.0.1"
}
provisioner "local-exec" {
command = "./.ansible.d/setup.sh $IP"
environment = {
IP = "192.168.0.150"
}
}
}