mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-24 21:47:26 +00:00
Update build.func
This commit is contained in:
@@ -2269,7 +2269,8 @@ EOF
|
||||
msg_info "Configuring VAAPI passthrough (${#VAAPI_DEVICES[@]} devices)"
|
||||
for device in "${VAAPI_DEVICES[@]}"; do
|
||||
configure_vaapi_device "$device" "$dev_index"
|
||||
((dev_index++))
|
||||
: "${dev_index:=0}"
|
||||
dev_index=$((dev_index + 1))
|
||||
done
|
||||
if [[ "$CT_TYPE" == "0" ]] && [[ -d /dev/dri ]]; then
|
||||
echo "lxc.mount.entry: /dev/dri dev/dri none bind,optional,create=dir" >>"$LXC_CONFIG"
|
||||
|
||||
Reference in New Issue
Block a user