chore: move omada storage to pve bind mount

This commit is contained in:
2025-10-03 21:55:14 +10:00
parent c5559fbb38
commit b7a7daef3b

View File

@@ -33,6 +33,20 @@ resource "proxmox_lxc" "omada" {
mount = "nfs;cifs"
}
// Bind Mount Point
mountpoint {
key = "1"
slot = 1
storage = "/mnt/lxc/omada"
// Without 'volume' defined, Proxmox will try to create a volume with
// the value of 'storage' + : + 'size' (without the trailing G) - e.g.
// "/srv/host/bind-mount-point:256".
// This behaviour looks to be caused by a bug in the provider.
volume = "/mnt/lxc/omada"
mp = "/data"
size = "1G"
}
network {
name = "eth0"
bridge = "vmbr0"