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
1 changed files with 2 additions and 2 deletions

View File

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