mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-27 10:57:02 +02:00
Update jellyfin_container.sh
This commit is contained in:
parent
64624725b7
commit
1d83f0f77e
@ -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}-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 ||
|
||||
|
Loading…
Reference in New Issue
Block a user