From 60d468baea77fcc7d14ac38e9598ffecdaacf908 Mon Sep 17 00:00:00 2001 From: Ryan Toler Date: Sun, 12 Apr 2026 06:54:08 +0000 Subject: [PATCH] trying new device block --- lxc/navidrome/main.tf | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lxc/navidrome/main.tf b/lxc/navidrome/main.tf index ae1e51c..38d1afd 100644 --- a/lxc/navidrome/main.tf +++ b/lxc/navidrome/main.tf @@ -32,11 +32,10 @@ resource "proxmox_virtual_environment_container" "example_template" { # Device mapping – expose /dev/net/tun with 775 permissions # Needed for gluetun container # ------------------------------------------------------------------ - device { + device_passthrough { name = "tun0" # any unique name you like - type = "tuntap" path = "/dev/net/tun" - permissions = "775" + permissions = "0775" } # ------------------------------------------------------------------ # Mount points – uncomment and set if you need to mount a volume.