mirror of
https://github.com/tolerryan/NewWatari.git
synced 2026-10-12 10:57:42 +00:00
add /dev/net/tun passthrough
This commit is contained in:
@@ -28,7 +28,16 @@ resource "proxmox_virtual_environment_container" "example_template" {
|
||||
datastore_id = var.datastore_id # <- primary disk
|
||||
size = var.disk_size_gb # in GB
|
||||
}
|
||||
|
||||
# ------------------------------------------------------------------
|
||||
# Device mapping – expose /dev/net/tun with 775 permissions
|
||||
# Needed for gluetun container
|
||||
# ------------------------------------------------------------------
|
||||
device {
|
||||
name = "tun0" # any unique name you like
|
||||
type = "tuntap"
|
||||
path = "/dev/net/tun"
|
||||
permissions = "775"
|
||||
}
|
||||
# ------------------------------------------------------------------
|
||||
# Mount points – uncomment and set if you need to mount a volume.
|
||||
# ------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user