From d2a01e4c388a0e57d4878279573eabcaec9627c5 Mon Sep 17 00:00:00 2001 From: tteckster Date: Thu, 24 Mar 2022 11:02:32 -0400 Subject: [PATCH] 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 13c418fd..68949613 100644 --- a/ct/plex_container.sh +++ b/ct/plex_container.sh @@ -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}-21.10 +OSVERSION=${OSTYPE}-20.04 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 ||