Browse Source

Update jellyfin_container.sh

tteckster 3 years ago
parent
commit
3b1e43cec0
1 changed files with 2 additions and 2 deletions
  1. 2 2
      ct/jellyfin_container.sh

+ 2 - 2
ct/jellyfin_container.sh

@@ -148,8 +148,8 @@ LXC_CONFIG=/etc/pve/lxc/${CTID}.conf
 cat <<EOF >> $LXC_CONFIG
 lxc.cgroup2.devices.allow: c 226:0 rwm
 lxc.cgroup2.devices.allow: c 226:128 rwm
-lxc.cgroup2.devices.allow: c 29:0 rwm
 lxc.mount.entry: /dev/dri dev/dri none bind,optional,create=dir
+lxc.mount.entry: /dev/dri/card0 dev/dri/card0 none bind,optional,create=file
 lxc.mount.entry: /dev/dri/renderD128 dev/renderD128 none bind,optional,create=file
 EOF
 
@@ -163,4 +163,4 @@ pct push $CTID jellyfin_setup.sh /jellyfin_setup.sh -perms 755
 pct exec $CTID /jellyfin_setup.sh
 
 IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
-info "Successfully created a Jellyfin Server LXC Container to $CTID at IP Address ${IP}:8096"
+info "Successfully created a Jellyfin Server LXC Container to $CTID at IP Address ${IP}:8096"