Update jellyfin_container.sh

This commit is contained in:
tteckster 2022-02-09 03:30:15 -05:00 committed by GitHub
parent 600d9af8db
commit 4392265c01
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 jellyfin_setup.sh /jellyfin_setup.sh -perms 755
pct exec $CTID /jellyfin_setup.sh
pct push $CTID jellyfin2_setup.sh /jellyfin2_setup.sh -perms 755
pct exec $CTID /jellyfin2_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"