Compare commits

...

2 Commits

Author SHA1 Message Date
tteckster ace4a8e43f
Update build.func
fixes https://github.com/tteck/Proxmox/issues/2894
2024-05-01 14:38:15 -04:00
tteckster adb7bc55f4
Update nextcloudpi.sh
Default Debian 12
2024-05-01 14:16:32 -04:00
2 changed files with 5 additions and 3 deletions

View File

@ -23,7 +23,7 @@ var_disk="8"
var_cpu="2" var_cpu="2"
var_ram="2048" var_ram="2048"
var_os="debian" var_os="debian"
var_version="11" var_version="12"
variables variables
color color
catch_errors catch_errors

View File

@ -595,6 +595,7 @@ EOF
fi fi
else else
if [[ "$APP" == "Channels" || "$APP" == "Emby" || "$APP" == "Frigate" || "$APP" == "Jellyfin" || "$APP" == "Plex" || "$APP" == "Scrypted" || "$APP" == "Tdarr" || "$APP" == "Unmanic" ]]; then if [[ "$APP" == "Channels" || "$APP" == "Emby" || "$APP" == "Frigate" || "$APP" == "Jellyfin" || "$APP" == "Plex" || "$APP" == "Scrypted" || "$APP" == "Tdarr" || "$APP" == "Unmanic" ]]; then
if [[ -e "/dev/dri/renderD128" ]]; then
if [[ -e "/dev/dri/card0" ]]; then if [[ -e "/dev/dri/card0" ]]; then
cat <<EOF >>$LXC_CONFIG cat <<EOF >>$LXC_CONFIG
# VAAPI hardware transcoding # VAAPI hardware transcoding
@ -610,6 +611,7 @@ EOF
fi fi
fi fi
fi fi
fi
# This starts the container and executes <app>-install.sh # This starts the container and executes <app>-install.sh
msg_info "Starting LXC Container" msg_info "Starting LXC Container"