chore: add pihole lxc
This commit is contained in:
44
201-github.tf
Normal file
44
201-github.tf
Normal file
@@ -0,0 +1,44 @@
|
||||
resource "proxmox_lxc" "ghshr" {
|
||||
|
||||
depends_on = [
|
||||
proxmox_vm_qemu.dev-docker
|
||||
]
|
||||
|
||||
target_node = "pve"
|
||||
vmid = "201"
|
||||
hostname = "ghshr"
|
||||
ostemplate = "local:vztmpl/debian-13-standard_13.1-1_amd64.tar.zst"
|
||||
password = var.ci_password
|
||||
unprivileged = false
|
||||
ostype = "debian"
|
||||
onboot = true
|
||||
start = true
|
||||
startup = "order=1000"
|
||||
|
||||
|
||||
ssh_public_keys = <<EOF
|
||||
${var.ssh_key}
|
||||
EOF
|
||||
|
||||
memory = "4096"
|
||||
swap = "512"
|
||||
|
||||
rootfs {
|
||||
storage = "local-zfs"
|
||||
size = "8G"
|
||||
}
|
||||
|
||||
features {
|
||||
fuse = true
|
||||
nesting = true
|
||||
mount = "nfs;cifs"
|
||||
}
|
||||
|
||||
network {
|
||||
name = "eth0"
|
||||
bridge = "vmbr0"
|
||||
ip = "10.10.10.8/24"
|
||||
gw = "10.10.10.1"
|
||||
tag = 10
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user