I need to clean up the configuration. This is my current conf:
Code
arch: arm64
cmode: tty
cores: 4
features: nesting=1
hostname: kodi
memory: 4000
net0: name=eth0,bridge=vmbr0,firewall=1,hwaddr=BC:24:11:94:1B:B8,ip=dhcp,type=veth
onboot: 1
ostype: ubuntu
rootfs: local-lvm:vm-106-disk-0,size=8G
swap: 512
tty: 2
unprivileged: 0
lxc.cgroup2.devices.allow: c 226:* rwm
lxc.cgroup2.devices.allow: c 29:0 rwm
lxc.mount.entry: /dev/fb0 dev/fb0 none bind,optional,create=file
lxc.mount.entry: /dev/dri dev/dri none bind,optional,create=dir
lxc.mount.entry: /dev/dri/renderD128 dev/renderD128 none bind,optional,create=file
lxc.mount.entry: /dev/dri/card0 dev/dri/card0 none bind,optional,create=file
lxc.cgroup2.devices.allow: c 235:* rwm
lxc.cgroup2.devices.allow: c 510:* rwm
lxc.mount.entry: /dev/cec0 dev/cec0 none bind,optional,create=file
lxc.mount.entry: /dev/cec1 dev/cec1 none bind,optional,create=file
lxc.cgroup2.devices.allow: c 4:7 rwm
lxc.cgroup2.devices.allow: c 13:* rwm
lxc.mount.entry: /dev/input dev/input none bind,optional,create=dir
lxc.cgroup2.devices.allow: c 116:* rwm
lxc.mount.entry: /dev/snd dev/snd none bind,optional,create=dir
lxc.hook.mount: sh -c "/var/lib/lxc/106/mount_hook.sh"
lxc.mount.auto: sys:rw
Display More
/var/lib/lxc/106/mount_hook.sh
#!/usr/bin/env bash
/bin/chgrp 44 /dev/fb0
/bin/chmod 660 /dev/fb0
/bin/chgrp 44 /dev/dri
/bin/chmod 755 /dev/dri
/bin/chgrp 44 /dev/dri/*
/bin/chmod 660 /dev/dri/*
/bin/chgrp 991 /dev/renderD128
/bin/chmod 660 /dev/renderD128
/bin/chgrp 5 /dev/tty7
/bin/chgrp 994 /dev/input/*
/bin/chgrp 29 /dev/snd/*