mirror of https://github.com/tteck/Proxmox.git
Compare commits
4 Commits
cae357cc26
...
46be5a9b74
Author | SHA1 | Date |
---|---|---|
|
46be5a9b74 | |
|
bd029543c8 | |
|
f041d5edea | |
|
90003e72f3 |
|
@ -10,6 +10,14 @@
|
||||||
- All LXC instances created using this repository come pre-installed with Midnight Commander, which is a command-line tool (`mc`) that offers a user-friendly file and directory management interface for the terminal environment.
|
- All LXC instances created using this repository come pre-installed with Midnight Commander, which is a command-line tool (`mc`) that offers a user-friendly file and directory management interface for the terminal environment.
|
||||||
- 🚨 **The scripts in the repository will no longer provide support for Proxmox VE 7 starting from July 2024 (scripts will not execute on PVE7). Subsequent <a href='https://forum.proxmox.com/threads/proxmox-ve-support-lifecycle.35755/' target='_blank' rel='noopener noreferrer'>Proxmox VE - Support Lifecycle</a>**
|
- 🚨 **The scripts in the repository will no longer provide support for Proxmox VE 7 starting from July 2024 (scripts will not execute on PVE7). Subsequent <a href='https://forum.proxmox.com/threads/proxmox-ve-support-lifecycle.35755/' target='_blank' rel='noopener noreferrer'>Proxmox VE - Support Lifecycle</a>**
|
||||||
|
|
||||||
|
## 2024-04-30
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- **Tdarr LXC**
|
||||||
|
- Default settings are now **Unprivileged**
|
||||||
|
- Unprivileged Hardware Acceleration
|
||||||
|
|
||||||
## 2024-04-29
|
## 2024-04-29
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
|
@ -29,7 +29,7 @@ color
|
||||||
catch_errors
|
catch_errors
|
||||||
|
|
||||||
function default_settings() {
|
function default_settings() {
|
||||||
CT_TYPE="0"
|
CT_TYPE="1"
|
||||||
PW=""
|
PW=""
|
||||||
CT_ID=$NEXTID
|
CT_ID=$NEXTID
|
||||||
HN=$NSAPP
|
HN=$NSAPP
|
||||||
|
|
|
@ -29,7 +29,7 @@ color
|
||||||
catch_errors
|
catch_errors
|
||||||
|
|
||||||
function default_settings() {
|
function default_settings() {
|
||||||
CT_TYPE="0"
|
CT_TYPE="1"
|
||||||
PW=""
|
PW=""
|
||||||
CT_ID=$NEXTID
|
CT_ID=$NEXTID
|
||||||
HN=$NSAPP
|
HN=$NSAPP
|
||||||
|
|
|
@ -20,19 +20,16 @@ $STD apt-get install -y mc
|
||||||
$STD apt-get install -y handbrake-cli
|
$STD apt-get install -y handbrake-cli
|
||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
|
msg_info "Setting Up Hardware Acceleration"
|
||||||
|
$STD apt-get -y install {va-driver-all,ocl-icd-libopencl1,intel-opencl-icd,vainfo,intel-gpu-tools}
|
||||||
if [[ "$CTTYPE" == "0" ]]; then
|
if [[ "$CTTYPE" == "0" ]]; then
|
||||||
msg_info "Setting Up Hardware Acceleration"
|
|
||||||
$STD apt-get -y install \
|
|
||||||
va-driver-all \
|
|
||||||
ocl-icd-libopencl1 \
|
|
||||||
intel-opencl-icd
|
|
||||||
chgrp video /dev/dri
|
chgrp video /dev/dri
|
||||||
chmod 755 /dev/dri
|
chmod 755 /dev/dri
|
||||||
chmod 660 /dev/dri/*
|
chmod 660 /dev/dri/*
|
||||||
$STD adduser $(id -u -n) video
|
$STD adduser $(id -u -n) video
|
||||||
$STD adduser $(id -u -n) render
|
$STD adduser $(id -u -n) render
|
||||||
msg_ok "Set Up Hardware Acceleration"
|
|
||||||
fi
|
fi
|
||||||
|
msg_ok "Set Up Hardware Acceleration"
|
||||||
|
|
||||||
msg_info "Installing Tdarr"
|
msg_info "Installing Tdarr"
|
||||||
mkdir -p /opt/tdarr
|
mkdir -p /opt/tdarr
|
||||||
|
@ -43,7 +40,12 @@ $STD unzip Tdarr_Updater.zip
|
||||||
rm -rf Tdarr_Updater.zip
|
rm -rf Tdarr_Updater.zip
|
||||||
chmod +x Tdarr_Updater
|
chmod +x Tdarr_Updater
|
||||||
./Tdarr_Updater &>/dev/null
|
./Tdarr_Updater &>/dev/null
|
||||||
sed -i -e 's/^sgx:x:104:$/render:x:104:root/' -e 's/^render:x:106:root$/sgx:x:106:/' /etc/group
|
if [[ "$CTTYPE" == "0" ]]; then
|
||||||
|
sed -i -e 's/^sgx:x:104:$/render:x:104:root/' -e 's/^render:x:106:root$/sgx:x:106:/' /etc/group
|
||||||
|
else
|
||||||
|
sed -i -e 's/^sgx:x:104:$/render:x:104:/' -e 's/^render:x:106:$/sgx:x:106:/' /etc/group
|
||||||
|
fi
|
||||||
|
|
||||||
msg_ok "Installed Tdarr"
|
msg_ok "Installed Tdarr"
|
||||||
|
|
||||||
msg_info "Creating Service"
|
msg_info "Creating Service"
|
||||||
|
|
Loading…
Reference in New Issue