mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-03-10 13:14:58 +00:00
Remove redundant uid from device config and update install script
Eliminates the unnecessary 'uid=0' parameter from device configuration in GPU passthrough setup for privileged containers. Also updates the viseron install script to remove the target directory argument from the fetch_and_deploy_gh_release call, aligning with changes in its usage.
This commit is contained in:
@@ -51,7 +51,7 @@ if [[ "$CTTYPE" == "0" ]]; then
|
||||
fi
|
||||
msg_ok "Hardware Acceleration Configured"
|
||||
|
||||
fetch_and_deploy_gh_release "viseron" "roflcoopter/viseron" "/opt/viseron"
|
||||
fetch_and_deploy_gh_release "viseron" "roflcoopter/viseron"
|
||||
|
||||
msg_info "Setting up Python Environment"
|
||||
uv venv --python "python3.13" /opt/viseron/.venv
|
||||
|
||||
@@ -2534,9 +2534,9 @@ configure_gpu_passthrough() {
|
||||
# Privileged container - use dev entries for WebUI visibility
|
||||
# Use initial GID 104 (render) for renderD*, 44 (video) for card*
|
||||
if [[ "$dev" =~ renderD ]]; then
|
||||
echo "dev${dev_idx}: $dev,uid=0,gid=104" >>"$LXC_CONFIG"
|
||||
echo "dev${dev_idx}: $dev,gid=104" >>"$LXC_CONFIG"
|
||||
else
|
||||
echo "dev${dev_idx}: $dev,uid=0,gid=44" >>"$LXC_CONFIG"
|
||||
echo "dev${dev_idx}: $dev,gid=44" >>"$LXC_CONFIG"
|
||||
fi
|
||||
dev_idx=$((dev_idx + 1))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user