Skip to content

Instantly share code, notes, and snippets.

@bjoern-r
Last active March 4, 2024 04:04
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bjoern-r/11190cbf9ab76d4835466ba49f549b0d to your computer and use it in GitHub Desktop.
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
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