From b7a7daef3b983efbbc39d848f67da8f2818172eb Mon Sep 17 00:00:00 2001 From: Matthew McKinnon Date: Fri, 3 Oct 2025 21:55:14 +1000 Subject: [PATCH] chore: move omada storage to pve bind mount --- 202-omada.tf | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/202-omada.tf b/202-omada.tf index 3e62888..c19e454 100644 --- a/202-omada.tf +++ b/202-omada.tf @@ -33,12 +33,26 @@ 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" ip = "10.10.40.2/24" gw = "10.10.40.1" tag = 40 - ip6 = "auto" + ip6 = "auto" } }