From 4112cada27c5a033c156d3aca29be5fdb3055a99 Mon Sep 17 00:00:00 2001 From: tteckster Date: Mon, 24 Jan 2022 13:40:10 -0500 Subject: [PATCH 1/4] Update plex_container.sh --- ct/plex_container.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ct/plex_container.sh b/ct/plex_container.sh index cdd594dd..0a8817d4 100644 --- a/ct/plex_container.sh +++ b/ct/plex_container.sh @@ -73,7 +73,7 @@ TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null wget -qL https://raw.githubusercontent.com/tteck/Proxmox/main/setup/plex_setup.sh -wget -qL https://raw.githubusercontent.com/tteck/Proxmox/main/misc/intel-drivers.sh +#wget -qL https://raw.githubusercontent.com/tteck/Proxmox/main/misc/intel-drivers.sh load_module overlay while read -r line; do @@ -109,7 +109,7 @@ echo -e "${CHECKMARK} \e[1;92m Updating LXC Template List... \e[0m" pveam update >/dev/null echo -e "${CHECKMARK} \e[1;92m Downloading LXC Template... \e[0m" OSTYPE=ubuntu -OSVERSION=${OSTYPE}-20.04 +OSVERSION=${OSTYPE}-21.10 mapfile -t TEMPLATES < <(pveam available -section system | sed -n "s/.*\($OSVERSION.*\)/\1/p" | sort -t - -k 2 -V) TEMPLATE="${TEMPLATES[-1]}" pveam download local $TEMPLATE >/dev/null || @@ -160,7 +160,7 @@ pct unmount $CTID && unset MOUNT echo -e "${CHECKMARK} \e[1;92m Starting LXC Container... \e[0m" pct start $CTID pct push $CTID plex_setup.sh /plex_setup.sh -perms 755 -pct push $CTID intel-drivers.sh /root/intel-drivers.sh -perms 755 +#pct push $CTID intel-drivers.sh /root/intel-drivers.sh -perms 755 pct exec $CTID /plex_setup.sh IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}') From 77fa1226a458621b638059b455e19add92367fae Mon Sep 17 00:00:00 2001 From: tteckster Date: Mon, 24 Jan 2022 13:41:54 -0500 Subject: [PATCH 2/4] Update plex_setup.sh --- setup/plex_setup.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup/plex_setup.sh b/setup/plex_setup.sh index 124b5df1..7c2347e0 100644 --- a/setup/plex_setup.sh +++ b/setup/plex_setup.sh @@ -37,7 +37,8 @@ echo -e "${CHECKMARK} \e[1;92m Installing Prerequisites... \e[0m" apt-get -qqy install \ curl \ sudo \ - gnupg &>/dev/null + gnupg \ + va-driver-all &>/dev/null /bin/chgrp video /dev/dri /bin/chmod 755 /dev/dri From ab04e8547fef70049a579659284bf7d31be2c051 Mon Sep 17 00:00:00 2001 From: tteckster Date: Mon, 24 Jan 2022 13:45:49 -0500 Subject: [PATCH 3/4] Update plex_container.sh --- ct/plex_container.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ct/plex_container.sh b/ct/plex_container.sh index 0a8817d4..01b2398d 100644 --- a/ct/plex_container.sh +++ b/ct/plex_container.sh @@ -72,7 +72,7 @@ function load_module() { TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null -wget -qL https://raw.githubusercontent.com/tteck/Proxmox/main/setup/plex_setup.sh +wget -qL https://raw.githubusercontent.com/tteck/Proxmox/dev/setup/plex_setup.sh #wget -qL https://raw.githubusercontent.com/tteck/Proxmox/main/misc/intel-drivers.sh load_module overlay From e37c579b8432ec740d8e3f87803ae7223bf5d6a0 Mon Sep 17 00:00:00 2001 From: tteckster Date: Mon, 24 Jan 2022 14:18:30 -0500 Subject: [PATCH 4/4] Update plex_container.sh --- ct/plex_container.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ct/plex_container.sh b/ct/plex_container.sh index 01b2398d..712aa44a 100644 --- a/ct/plex_container.sh +++ b/ct/plex_container.sh @@ -72,8 +72,8 @@ function load_module() { TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null -wget -qL https://raw.githubusercontent.com/tteck/Proxmox/dev/setup/plex_setup.sh -#wget -qL https://raw.githubusercontent.com/tteck/Proxmox/main/misc/intel-drivers.sh +wget -qL https://raw.githubusercontent.com/tteck/Proxmox/main/setup/plex_setup.sh + load_module overlay while read -r line; do @@ -160,7 +160,6 @@ pct unmount $CTID && unset MOUNT echo -e "${CHECKMARK} \e[1;92m Starting LXC Container... \e[0m" pct start $CTID pct push $CTID plex_setup.sh /plex_setup.sh -perms 755 -#pct push $CTID intel-drivers.sh /root/intel-drivers.sh -perms 755 pct exec $CTID /plex_setup.sh IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')