Updated tvheadend_container.sh

This commit is contained in:
Steven Seifried 2022-01-10 04:59:22 +01:00
parent 5e42adae5f
commit f9aa96981f
No known key found for this signature in database
GPG key ID: 174371A9356D63E5

View file

@ -151,8 +151,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 tvheadend_setup.sh /tvheadend_setup.sh -perms 755
pct exec $CTID /jellyfin_setup.sh pct exec $CTID /tvheadend_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 LXC Container to $CTID at IP Address ${IP}:8096" info "Successfully created a Jellyfin LXC Container to $CTID at IP Address ${IP}:8096"