Last active
July 23, 2024 02:52
-
-
Save bjoern-r/11190cbf9ab76d4835466ba49f549b0d to your computer and use it in GitHub Desktop.
Proxmox VE (privileged) lxc container for running kodi with GPU, keyboard and sound
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
arch: amd64 | |
cores: 2 | |
hostname: kodipriv | |
memory: 2048 | |
net0: name=eth0,bridge=vmbr0,firewall=1,hwaddr=56:94:2A:9A:8E:1B,ip=dhcp,ip6=auto,type=veth | |
ostype: ubuntu | |
parent: before_first_boot | |
rootfs: encrypted_zfs:subvol-103-disk-0,size=8G | |
swap: 512 | |
lxc.cgroup2.devices.allow: c 226:* rwm | |
lxc.mount.entry: /dev/dri/card0 dev/dri/card0 none bind,create=file | |
lxc.mount.entry: /dev/dri/renderD128 dev/dri/renderD128 none bind,create=file | |
lxc.cgroup2.devices.allow: c 13:* rwm | |
lxc.mount.entry: /dev/input/event2 dev/input/event2 none bind,optional,create=file | |
lxc.mount.entry: /run/udev mnt/udev none bind,create=dir | |
lxc.cgroup2.devices.allow: c 116:* rwm | |
lxc.mount.entry: /dev/snd dev/snd none bind,create=dir | |
lxc.cgroup2.devices.allow: c 4:6 rwm | |
lxc.mount.entry: /dev/tty7 dev/tty7 none bind,create=file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This works perfectly on kernel 6.5.13-3-pve.
But there is no video on kernel 6.8.8-3-pve.