Telmate/terraform-provider-proxmox

LXC Device Passthrough

two56bytes opened this issue · 3 comments

Following the tutorial on passing my iGPU Device for HW acceleration to the container i noticed that i am not able to setup the following in terraform:

lxc.cgroup2.devices.allow: c 226:0 rwm
lxc.cgroup2.devices.allow: c 226:128 rwm
lxc.mount.entry: /dev/dri/renderD128 dev/dri/renderD128 none bind,optional,create=file

https://forum.proxmox.com/threads/proxmox-lxc-igpu-passthrough.141381/

this might be done with a custom hookscript but that does not seem like a clean solution.