Adding addtinal files

This commit is contained in:
Ryan Toler
2024-10-02 01:29:06 -05:00
parent 216f3bb81d
commit 43647d5eb2
11 changed files with 319 additions and 0 deletions

42
bookstack.tf Normal file
View File

@@ -0,0 +1,42 @@
resource "proxmox_lxc" "LXC" {
target_node = "pve"
hostname = "bookstack"
vmid = 217
ostemplate = "local:vztmpl/debian-12-standard_12.7-1_amd64.tar.zst"
password = "terraform"
unprivileged = true
nesting = true
cores = 5
memory = 4096
swap = 1024
start = true
tags = "terraform"
nameserver = "192.168.0.24"
ssh_public_keys = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINFw70PrMsilcsqCrwW1I6PAt3anQbhmVg+t/HUfomug ryan@mxDesktop"
rootfs {
storage = "nvme"
size = "32G"
}
mountpoint{
key = "0"
slot = 0
storage = "Cephtest"
mp = "/data"
size = "400G"
}
network {
name = "eth0"
bridge = "vmbr0"
ip = "192.168.0.56/24"
gw = "192.168.0.1"
}
provisioner "local-exec" {
command = "./.ansible.d/setup.sh"
}
}