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,12 +33,26 @@ resource "proxmox_lxc" "omada" {
mount = "nfs;cifs" 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 { network {
name = "eth0" name = "eth0"
bridge = "vmbr0" bridge = "vmbr0"
ip = "10.10.40.2/24" ip = "10.10.40.2/24"
gw = "10.10.40.1" gw = "10.10.40.1"
tag = 40 tag = 40
ip6 = "auto" ip6 = "auto"
} }
} }