Update jellyfin_container.sh

This commit is contained in:
tteckster 2022-02-09 04:26:38 -05:00 committed by GitHub
parent c5670c4f67
commit 3f9983e4b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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/jellyfin2_setup.sh
wget -qL https://raw.githubusercontent.com/tteck/Proxmox/main/setup/jellyfin_setup.sh
load_module overlay
@ -159,8 +159,8 @@ pct unmount $CTID && unset MOUNT
echo -e "${CHECKMARK} \e[1;92m Starting LXC Container... \e[0m"
pct start $CTID
pct push $CTID jellyfin2_setup.sh /jellyfin2_setup.sh -perms 755
pct exec $CTID /jellyfin2_setup.sh
pct push $CTID jellyfin_setup.sh /jellyfin_setup.sh -perms 755
pct exec $CTID /jellyfin_setup.sh
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
info "Successfully created a Jellyfin Server LXC Container to $CTID at IP Address ${IP}:8096"