Create james vm

This commit is contained in:
tolerryan
2025-11-02 00:55:39 -05:00
parent 734ffb5117
commit 3651cab012

View File

@@ -2,14 +2,14 @@ resource "proxmox_lxc" "pihole" {
target_node = "ryuk" target_node = "ryuk"
hostname = "pihole" hostname = "pihole"
vmid = 220 vmid = 220
ostemplate = "cephfs:vztmpl/debian-12-standard_12.7-1_amd64.tar.zst" ostemplate = "cephfs:vztmpl/debian-13-standard_13.1-2_amd64.tar.zst"
password = "terraform" password = "terraform"
unprivileged = true unprivileged = true
cores = 5 cores = 5
memory = 4096 memory = 1024
swap = 1024 swap = 1024
start = true start = true
tags = "terraform" tags = "terraform;deb13"
nameserver = "192.168.0.24" nameserver = "192.168.0.24"
ssh_public_keys = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINFw70PrMsilcsqCrwW1I6PAt3anQbhmVg+t/HUfomug ryan@mxDesktop" ssh_public_keys = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINFw70PrMsilcsqCrwW1I6PAt3anQbhmVg+t/HUfomug ryan@mxDesktop"
@@ -19,7 +19,7 @@ resource "proxmox_lxc" "pihole" {
rootfs { rootfs {
storage = "local-lvm" storage = "local-lvm"
size = "128G" size = "32G"
} }
network { network {
@@ -27,7 +27,6 @@ resource "proxmox_lxc" "pihole" {
bridge = "vmbr0" bridge = "vmbr0"
ip = "192.168.0.224/24" ip = "192.168.0.224/24"
gw = "192.168.0.1" gw = "192.168.0.1"
} }
provisioner "local-exec" { provisioner "local-exec" {