From c32b1988780c2b701bca2cf62587a4024bd99cad Mon Sep 17 00:00:00 2001 From: Max Bossing Date: Tue, 30 Sep 2025 12:57:31 +0200 Subject: updates --- main.tf | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/main.tf b/main.tf index 5a898a0..432f8fd 100644 --- a/main.tf +++ b/main.tf @@ -18,35 +18,31 @@ provider "proxmox" { } resource "proxmox_lxc" "test" { - target_node = "atlas" # your Proxmox node name - hostname = "web" + target_node = "atlas" # "tl-core02" + hostname = "test" # "training-xxx" ostemplate = "local:vztmpl/alpine-3.21-default_20241217_amd64.tar.xz" unprivileged = true password = "test1" - cores = 2 + cores = 1 memory = 512 swap = 512 - # root disk rootfs { - storage = "local-lvm" # or your ZFS/LVM storage name + storage = "local-lvm" size = "4G" } - # network network { name = "eth0" bridge = "vmbr0" - ip = "dhcp" # or "192.168.10.50/24" - # gw = "192.168.10.1" # needed if using static IP + ip = "dhcp" + #gw = "192.168.1.1" } - # optional: inject your SSH key so you don’t use the password # ssh_public_keys = file("~/.ssh/id_rsa.pub") - # quality-of-life start = true - #tags = "tf,lxc,web" + #tags = "tofu,lxc" } -- cgit v1.0