From 52386dd5d95b75fb61629472e19e8a14f930f878 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sun, 23 Jan 2022 13:15:17 -0500 Subject: [PATCH] Update plex_container.sh --- ct/plex_container.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ct/plex_container.sh b/ct/plex_container.sh index db7dd698..760b4da7 100644 --- a/ct/plex_container.sh +++ b/ct/plex_container.sh @@ -108,8 +108,8 @@ info "Container ID is $CTID." 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=debian -OSVERSION=${OSTYPE}-11 +OSTYPE=ubuntu +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 ||