forked from Proxmox/ProxmoxVE
Compare commits
1 Commits
update_ver
...
path_corre
| Author | SHA1 | Date | |
|---|---|---|---|
| 47f24897ea |
@ -1,118 +1,23 @@
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"name": "fhem/fhem-mirror",
|
"name": "semaphoreui/semaphore",
|
||||||
"version": "6.2",
|
"version": "v2.13.11-beta1",
|
||||||
"date": "2025-04-09T10:37:21Z"
|
"date": "2025-04-08T10:56:42Z"
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "YunoHost/yunohost",
|
|
||||||
"version": "debian/12.0.14",
|
|
||||||
"date": "2025-04-09T10:09:00Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Stirling-Tools/Stirling-PDF",
|
|
||||||
"version": "v0.45.2",
|
|
||||||
"date": "2025-04-09T10:08:52Z"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "n8n-io/n8n",
|
"name": "n8n-io/n8n",
|
||||||
"version": "n8n@1.86.1",
|
"version": "n8n@1.84.3",
|
||||||
"date": "2025-04-09T09:20:55Z"
|
"date": "2025-03-27T11:54:33Z"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "esphome/esphome",
|
"name": "fhem/fhem-mirror",
|
||||||
"version": "2025.3.3",
|
"version": "6.2",
|
||||||
"date": "2025-03-31T22:07:05Z"
|
"date": "2025-04-08T10:34:47Z"
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "runtipi/runtipi",
|
|
||||||
"version": "v3.10.0",
|
|
||||||
"date": "2025-03-15T14:38:16Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "morpheus65535/bazarr",
|
|
||||||
"version": "v1.5.1",
|
|
||||||
"date": "2025-01-01T16:15:52Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Jackett/Jackett",
|
|
||||||
"version": "v0.22.1751",
|
|
||||||
"date": "2025-04-09T06:00:36Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "StarFleetCPTN/GoMFT",
|
|
||||||
"version": "v0.2.7",
|
|
||||||
"date": "2025-04-09T04:53:30Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "OliveTin/OliveTin",
|
|
||||||
"version": "2025.4.8",
|
|
||||||
"date": "2025-04-08T22:02:50Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "coder/code-server",
|
|
||||||
"version": "v4.99.1",
|
|
||||||
"date": "2025-04-08T21:35:21Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "semaphoreui/semaphore",
|
|
||||||
"version": "v2.13.12",
|
|
||||||
"date": "2025-04-08T20:54:58Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "minio/minio",
|
|
||||||
"version": "RELEASE.2025-04-08T15-41-24Z",
|
|
||||||
"date": "2025-04-08T19:51:06Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "goauthentik/authentik",
|
|
||||||
"version": "version/2025.2.4",
|
|
||||||
"date": "2025-04-08T18:39:57Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "keycloak/keycloak",
|
|
||||||
"version": "26.1.4",
|
|
||||||
"date": "2025-03-13T15:41:42Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "influxdata/influxdb",
|
|
||||||
"version": "v1.12.0rc1",
|
|
||||||
"date": "2025-04-08T17:35:21Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "paperless-ngx/paperless-ngx",
|
|
||||||
"version": "v2.15.0",
|
|
||||||
"date": "2025-04-08T17:24:06Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "syncthing/syncthing",
|
|
||||||
"version": "v1.29.4",
|
|
||||||
"date": "2025-04-01T08:45:07Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "jenkinsci/jenkins",
|
|
||||||
"version": "jenkins-2.505",
|
|
||||||
"date": "2025-04-08T15:46:42Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "AdguardTeam/AdGuardHome",
|
|
||||||
"version": "v0.107.59",
|
|
||||||
"date": "2025-03-21T11:11:39Z"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "openobserve/openobserve",
|
"name": "openobserve/openobserve",
|
||||||
"version": "v0.14.6-rc2",
|
"version": "v0.14.6-rc1",
|
||||||
"date": "2025-04-08T14:42:54Z"
|
"date": "2025-04-08T08:50:03Z"
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "element-hq/synapse",
|
|
||||||
"version": "v1.128.0",
|
|
||||||
"date": "2025-04-08T14:27:55Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "linkwarden/linkwarden",
|
|
||||||
"version": "v2.10.0",
|
|
||||||
"date": "2025-04-08T12:33:57Z"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "prometheus/prometheus",
|
"name": "prometheus/prometheus",
|
||||||
@ -124,6 +29,21 @@
|
|||||||
"version": "release-1.23.0rc1",
|
"version": "release-1.23.0rc1",
|
||||||
"date": "2025-04-08T06:39:46Z"
|
"date": "2025-04-08T06:39:46Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "Jackett/Jackett",
|
||||||
|
"version": "v0.22.1744",
|
||||||
|
"date": "2025-04-08T06:09:14Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "StarFleetCPTN/GoMFT",
|
||||||
|
"version": "v0.2.6",
|
||||||
|
"date": "2025-04-08T02:23:38Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "coder/code-server",
|
||||||
|
"version": "v4.99.0",
|
||||||
|
"date": "2025-04-08T00:55:36Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "pelican-dev/panel",
|
"name": "pelican-dev/panel",
|
||||||
"version": "v1.0.0-beta19",
|
"version": "v1.0.0-beta19",
|
||||||
@ -159,6 +79,11 @@
|
|||||||
"version": "coverity-w15-4.12.0",
|
"version": "coverity-w15-4.12.0",
|
||||||
"date": "2025-04-07T17:50:14Z"
|
"date": "2025-04-07T17:50:14Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "keycloak/keycloak",
|
||||||
|
"version": "26.1.4",
|
||||||
|
"date": "2025-03-13T15:41:42Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "Brandawg93/PeaNUT",
|
"name": "Brandawg93/PeaNUT",
|
||||||
"version": "v5.7.0",
|
"version": "v5.7.0",
|
||||||
@ -184,6 +109,11 @@
|
|||||||
"version": "pmm-6401-v1.115.0",
|
"version": "pmm-6401-v1.115.0",
|
||||||
"date": "2025-04-07T11:15:53Z"
|
"date": "2025-04-07T11:15:53Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "syncthing/syncthing",
|
||||||
|
"version": "v1.29.4",
|
||||||
|
"date": "2025-04-01T08:45:07Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "fallenbagel/jellyseerr",
|
"name": "fallenbagel/jellyseerr",
|
||||||
"version": "preview-back-to-axios",
|
"version": "preview-back-to-axios",
|
||||||
@ -214,6 +144,11 @@
|
|||||||
"version": "server/public/v0.1.11",
|
"version": "server/public/v0.1.11",
|
||||||
"date": "2025-03-28T14:04:31Z"
|
"date": "2025-03-28T14:04:31Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "morpheus65535/bazarr",
|
||||||
|
"version": "v1.5.1",
|
||||||
|
"date": "2025-01-01T16:15:52Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "open-webui/open-webui",
|
"name": "open-webui/open-webui",
|
||||||
"version": "v0.6.2",
|
"version": "v0.6.2",
|
||||||
@ -249,6 +184,11 @@
|
|||||||
"version": "1.5.34",
|
"version": "1.5.34",
|
||||||
"date": "2025-03-27T16:17:38Z"
|
"date": "2025-03-27T16:17:38Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "runtipi/runtipi",
|
||||||
|
"version": "v3.10.0",
|
||||||
|
"date": "2025-03-15T14:38:16Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "stackblitz-labs/bolt.diy",
|
"name": "stackblitz-labs/bolt.diy",
|
||||||
"version": "v0.0.7-hf1",
|
"version": "v0.0.7-hf1",
|
||||||
@ -349,6 +289,11 @@
|
|||||||
"version": "2.2.1",
|
"version": "2.2.1",
|
||||||
"date": "2025-04-04T20:15:48Z"
|
"date": "2025-04-04T20:15:48Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "YunoHost/yunohost",
|
||||||
|
"version": "debian/12.0.13",
|
||||||
|
"date": "2025-04-04T20:05:45Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "homarr-labs/homarr",
|
"name": "homarr-labs/homarr",
|
||||||
"version": "v1.14.0",
|
"version": "v1.14.0",
|
||||||
@ -379,6 +324,11 @@
|
|||||||
"version": "0.49.12",
|
"version": "0.49.12",
|
||||||
"date": "2025-04-04T07:31:08Z"
|
"date": "2025-04-04T07:31:08Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "minio/minio",
|
||||||
|
"version": "RELEASE.2025-04-03T14-56-28Z",
|
||||||
|
"date": "2025-04-03T19:08:18Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "OctoPrint/OctoPrint",
|
"name": "OctoPrint/OctoPrint",
|
||||||
"version": "1.10.3",
|
"version": "1.10.3",
|
||||||
@ -414,6 +364,11 @@
|
|||||||
"version": "2025.4.0",
|
"version": "2025.4.0",
|
||||||
"date": "2025-04-02T15:38:53Z"
|
"date": "2025-04-02T15:38:53Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "jenkinsci/jenkins",
|
||||||
|
"version": "jenkins-2.503",
|
||||||
|
"date": "2025-04-02T15:12:13Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "hargata/lubelog",
|
"name": "hargata/lubelog",
|
||||||
"version": "v1.4.6",
|
"version": "v1.4.6",
|
||||||
@ -429,6 +384,16 @@
|
|||||||
"version": "v2.31.0",
|
"version": "v2.31.0",
|
||||||
"date": "2025-04-01T18:12:45Z"
|
"date": "2025-04-01T18:12:45Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "influxdata/influxdb",
|
||||||
|
"version": "v3.0.0-0.beta.3",
|
||||||
|
"date": "2025-04-01T15:34:30Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "element-hq/synapse",
|
||||||
|
"version": "v1.127.1",
|
||||||
|
"date": "2025-03-26T21:44:28Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "theonedev/onedev",
|
"name": "theonedev/onedev",
|
||||||
"version": "v11.8.6",
|
"version": "v11.8.6",
|
||||||
@ -449,6 +414,11 @@
|
|||||||
"version": "v0.82.1-18",
|
"version": "v0.82.1-18",
|
||||||
"date": "2025-03-31T23:12:40Z"
|
"date": "2025-03-31T23:12:40Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "esphome/esphome",
|
||||||
|
"version": "2025.3.3",
|
||||||
|
"date": "2025-03-31T22:07:05Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "Kometa-Team/Kometa",
|
"name": "Kometa-Team/Kometa",
|
||||||
"version": "v2.2.0",
|
"version": "v2.2.0",
|
||||||
@ -539,6 +509,11 @@
|
|||||||
"version": "v1.6.1",
|
"version": "v1.6.1",
|
||||||
"date": "2025-03-15T17:29:17Z"
|
"date": "2025-03-15T17:29:17Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "OliveTin/OliveTin",
|
||||||
|
"version": "2025.3.28",
|
||||||
|
"date": "2025-03-29T00:18:56Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "TasmoAdmin/TasmoAdmin",
|
"name": "TasmoAdmin/TasmoAdmin",
|
||||||
"version": "v4.2.3",
|
"version": "v4.2.3",
|
||||||
@ -564,6 +539,11 @@
|
|||||||
"version": "e5.9.0-beta.2",
|
"version": "e5.9.0-beta.2",
|
||||||
"date": "2025-03-28T15:06:27Z"
|
"date": "2025-03-28T15:06:27Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "goauthentik/authentik",
|
||||||
|
"version": "version/2025.2.3",
|
||||||
|
"date": "2025-03-28T14:28:34Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "hakimel/reveal.js",
|
"name": "hakimel/reveal.js",
|
||||||
"version": "5.2.1",
|
"version": "5.2.1",
|
||||||
@ -624,6 +604,11 @@
|
|||||||
"version": "v11.6.0",
|
"version": "v11.6.0",
|
||||||
"date": "2025-03-25T22:10:15Z"
|
"date": "2025-03-25T22:10:15Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "Stirling-Tools/Stirling-PDF",
|
||||||
|
"version": "v0.45.0",
|
||||||
|
"date": "2025-03-25T18:48:17Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "ipfs/kubo",
|
"name": "ipfs/kubo",
|
||||||
"version": "v0.34.1",
|
"version": "v0.34.1",
|
||||||
@ -699,6 +684,11 @@
|
|||||||
"version": "250321-57590c48b",
|
"version": "250321-57590c48b",
|
||||||
"date": "2025-03-21T11:48:16Z"
|
"date": "2025-03-21T11:48:16Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "AdguardTeam/AdGuardHome",
|
||||||
|
"version": "v0.107.59",
|
||||||
|
"date": "2025-03-21T11:11:39Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "jhuckaby/Cronicle",
|
"name": "jhuckaby/Cronicle",
|
||||||
"version": "v0.9.77",
|
"version": "v0.9.77",
|
||||||
@ -754,6 +744,11 @@
|
|||||||
"version": "v0.10.2",
|
"version": "v0.10.2",
|
||||||
"date": "2025-03-15T07:14:54Z"
|
"date": "2025-03-15T07:14:54Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "paperless-ngx/paperless-ngx",
|
||||||
|
"version": "v2.15.0-beta",
|
||||||
|
"date": "2025-03-14T18:05:28Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "FlowiseAI/Flowise",
|
"name": "FlowiseAI/Flowise",
|
||||||
"version": "flowise@2.2.7-patch.1",
|
"version": "flowise@2.2.7-patch.1",
|
||||||
@ -1054,6 +1049,11 @@
|
|||||||
"version": "0.17.1",
|
"version": "0.17.1",
|
||||||
"date": "2025-01-15T19:13:33Z"
|
"date": "2025-01-15T19:13:33Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "linkwarden/linkwarden",
|
||||||
|
"version": "v2.9.3",
|
||||||
|
"date": "2025-01-13T16:19:53Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "Tautulli/Tautulli",
|
"name": "Tautulli/Tautulli",
|
||||||
"version": "v2.15.1",
|
"version": "v2.15.1",
|
||||||
|
|||||||
@ -40,7 +40,7 @@ function clean_container() {
|
|||||||
header_info
|
header_info
|
||||||
name=$(pct exec "$container" hostname)
|
name=$(pct exec "$container" hostname)
|
||||||
echo -e "${BL}[Info]${GN} Cleaning ${name} ${CL} \n"
|
echo -e "${BL}[Info]${GN} Cleaning ${name} ${CL} \n"
|
||||||
pct exec $container -- bash -c "apt-get -y --purge autoremove && apt-get -y autoclean && bash <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/clean.sh) && rm -rf /var/lib/apt/lists/* && apt-get update"
|
pct exec "$container" -- bash -c "apt-get -y --purge autoremove && apt-get -y autoclean && bash <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/pve/clean.sh) && rm -rf /var/lib/apt/lists/* && apt-get update"
|
||||||
}
|
}
|
||||||
for container in $(pct list | awk '{if(NR>1) print $1}'); do
|
for container in $(pct list | awk '{if(NR>1) print $1}'); do
|
||||||
if [[ " ${excluded_containers[@]} " =~ " $container " ]]; then
|
if [[ " ${excluded_containers[@]} " =~ " $container " ]]; then
|
||||||
@ -56,18 +56,18 @@ for container in $(pct list | awk '{if(NR>1) print $1}'); do
|
|||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
|
||||||
status=$(pct status $container)
|
status=$(pct status "$container")
|
||||||
template=$(pct config $container | grep -q "template:" && echo "true" || echo "false")
|
template=$(pct config "$container" | grep -q "template:" && echo "true" || echo "false")
|
||||||
if [ "$template" == "false" ] && [ "$status" == "status: stopped" ]; then
|
if [ "$template" == "false" ] && [ "$status" == "status: stopped" ]; then
|
||||||
echo -e "${BL}[Info]${GN} Starting${BL} $container ${CL} \n"
|
echo -e "${BL}[Info]${GN} Starting${BL} $container ${CL} \n"
|
||||||
pct start $container
|
pct start "$container"
|
||||||
echo -e "${BL}[Info]${GN} Waiting For${BL} $container${CL}${GN} To Start ${CL} \n"
|
echo -e "${BL}[Info]${GN} Waiting For${BL} $container${CL}${GN} To Start ${CL} \n"
|
||||||
sleep 5
|
sleep 5
|
||||||
clean_container $container
|
clean_container "$container"
|
||||||
echo -e "${BL}[Info]${GN} Shutting down${BL} $container ${CL} \n"
|
echo -e "${BL}[Info]${GN} Shutting down${BL} $container ${CL} \n"
|
||||||
pct shutdown $container &
|
pct shutdown "$container" &
|
||||||
elif [ "$status" == "status: running" ]; then
|
elif [ "$status" == "status: running" ]; then
|
||||||
clean_container $container
|
clean_container "$container"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
# Author: tteck (tteckster)
|
# Author: tteck (tteckster)
|
||||||
# License: MIT
|
# License: MIT
|
||||||
# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||||
# bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/cron-update-lxcs.sh)"
|
# bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/pve/cron-update-lxcs.sh)"
|
||||||
|
|
||||||
clear
|
clear
|
||||||
cat <<"EOF"
|
cat <<"EOF"
|
||||||
@ -25,13 +25,13 @@ add() {
|
|||||||
*) echo "Please answer yes or no." ;;
|
*) echo "Please answer yes or no." ;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
sh -c '(crontab -l -u root 2>/dev/null; echo "0 0 * * 0 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin /bin/bash -c \"\$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/update-lxcs-cron.sh)\" >>/var/log/update-lxcs-cron.log 2>/dev/null") | crontab -u root -'
|
sh -c '(crontab -l -u root 2>/dev/null; echo "0 0 * * 0 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin /bin/bash -c \"\$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/pve/update-lxcs-cron.sh)\" >>/var/log/update-lxcs-cron.log 2>/dev/null") | crontab -u root -'
|
||||||
clear
|
clear
|
||||||
echo -e "\n To view Cron Update LXCs logs: cat /var/log/update-lxcs-cron.log"
|
echo -e "\n To view Cron Update LXCs logs: cat /var/log/update-lxcs-cron.log"
|
||||||
}
|
}
|
||||||
|
|
||||||
remove() {
|
remove() {
|
||||||
(crontab -l | grep -v "github.com/community-scripts/ProxmoxVE/raw/main/misc/update-lxcs-cron.sh") | crontab -
|
(crontab -l | grep -v "update-lxcs-cron.sh") | crontab -
|
||||||
rm -rf /var/log/update-lxcs-cron.log
|
rm -rf /var/log/update-lxcs-cron.log
|
||||||
echo "Removed Crontab Schedule from Proxmox VE"
|
echo "Removed Crontab Schedule from Proxmox VE"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -79,15 +79,15 @@ done
|
|||||||
|
|
||||||
# Add autodev settings
|
# Add autodev settings
|
||||||
CTID_CONFIG_PATH=/etc/pve/lxc/${CTID}.conf
|
CTID_CONFIG_PATH=/etc/pve/lxc/${CTID}.conf
|
||||||
sed '/autodev/d' $CTID_CONFIG_PATH >CTID.conf
|
sed '/autodev/d' "$CTID_CONFIG_PATH" >CTID.conf
|
||||||
cat CTID.conf >$CTID_CONFIG_PATH
|
cat CTID.conf >"$CTID_CONFIG_PATH"
|
||||||
|
|
||||||
cat <<EOF >>$CTID_CONFIG_PATH
|
cat <<EOF >>"$CTID_CONFIG_PATH"
|
||||||
lxc.autodev: 1
|
lxc.autodev: 1
|
||||||
lxc.hook.autodev: bash -c '$HOOK_SCRIPT'
|
lxc.hook.autodev: bash -c '$HOOK_SCRIPT'
|
||||||
EOF
|
EOF
|
||||||
echo -e "\e[1;33m \nFinished....Reboot ${CTID} LXC to apply the changes.\n \e[0m"
|
echo -e "\e[1;33m \nFinished....Reboot ${CTID} LXC to apply the changes.\n \e[0m"
|
||||||
|
|
||||||
# In the Proxmox web shell run
|
# In the Proxmox web shell run
|
||||||
# bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/frigate-support.sh)"
|
# bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/pve/frigate-support.sh)"
|
||||||
# Reboot the LXC to apply the changes
|
# Reboot the LXC to apply the changes
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
# License: MIT
|
# License: MIT
|
||||||
# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||||
# Execute within the Proxmox shell
|
# Execute within the Proxmox shell
|
||||||
# bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/hw-acceleration.sh)"
|
# bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/pve/hw-acceleration.sh)"
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
function header_info {
|
function header_info {
|
||||||
@ -76,7 +76,7 @@ else
|
|||||||
fi
|
fi
|
||||||
header_info
|
header_info
|
||||||
|
|
||||||
cat <<EOF >>/etc/pve/lxc/${privileged_container}.conf
|
cat <<EOF >>/etc/pve/lxc/"${privileged_container}".conf
|
||||||
lxc.cgroup2.devices.allow: c 226:0 rwm
|
lxc.cgroup2.devices.allow: c 226:0 rwm
|
||||||
lxc.cgroup2.devices.allow: c 226:128 rwm
|
lxc.cgroup2.devices.allow: c 226:128 rwm
|
||||||
lxc.cgroup2.devices.allow: c 29:0 rwm
|
lxc.cgroup2.devices.allow: c 29:0 rwm
|
||||||
@ -89,7 +89,7 @@ read -r -p "Do you need the intel-media-va-driver-non-free driver (Debian 12 onl
|
|||||||
if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then
|
if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then
|
||||||
header_info
|
header_info
|
||||||
msg_info "Installing Hardware Acceleration (non-free)"
|
msg_info "Installing Hardware Acceleration (non-free)"
|
||||||
pct exec ${privileged_container} -- bash -c "cat <<EOF >/etc/apt/sources.list.d/non-free.list
|
pct exec "${privileged_container}" -- bash -c "cat <<EOF >/etc/apt/sources.list.d/non-free.list
|
||||||
|
|
||||||
deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
|
deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
|
||||||
deb-src http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
|
deb-src http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
|
||||||
@ -101,12 +101,12 @@ deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free
|
|||||||
deb-src http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
|
deb-src http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
|
||||||
EOF"
|
EOF"
|
||||||
|
|
||||||
pct exec ${privileged_container} -- bash -c "silent() { \"\$@\" >/dev/null 2>&1; } && $STD apt-get update && $STD apt-get install -y intel-media-va-driver-non-free ocl-icd-libopencl1 intel-opencl-icd vainfo intel-gpu-tools && $STD adduser \$(id -u -n) video && $STD adduser \$(id -u -n) render"
|
pct exec "${privileged_container}" -- bash -c "silent() { \"\$@\" >/dev/null 2>&1; } && $STD apt-get update && $STD apt-get install -y intel-media-va-driver-non-free ocl-icd-libopencl1 intel-opencl-icd vainfo intel-gpu-tools && $STD adduser \$(id -u -n) video && $STD adduser \$(id -u -n) render"
|
||||||
msg_ok "Installed Hardware Acceleration (non-free)"
|
msg_ok "Installed Hardware Acceleration (non-free)"
|
||||||
else
|
else
|
||||||
header_info
|
header_info
|
||||||
msg_info "Installing Hardware Acceleration"
|
msg_info "Installing Hardware Acceleration"
|
||||||
pct exec ${privileged_container} -- bash -c "silent() { \"\$@\" >/dev/null 2>&1; } && $STD apt-get install -y va-driver-all ocl-icd-libopencl1 intel-opencl-icd vainfo intel-gpu-tools && chgrp video /dev/dri && chmod 755 /dev/dri && $STD adduser \$(id -u -n) video && $STD adduser \$(id -u -n) render"
|
pct exec "${privileged_container}" -- bash -c "silent() { \"\$@\" >/dev/null 2>&1; } && $STD apt-get install -y va-driver-all ocl-icd-libopencl1 intel-opencl-icd vainfo intel-gpu-tools && chgrp video /dev/dri && chmod 755 /dev/dri && $STD adduser \$(id -u -n) video && $STD adduser \$(id -u -n) render"
|
||||||
msg_ok "Installed Hardware Acceleration"
|
msg_ok "Installed Hardware Acceleration"
|
||||||
fi
|
fi
|
||||||
sleep 1
|
sleep 1
|
||||||
|
|||||||
Reference in New Issue
Block a user