mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-23 07:29:02 +01:00
Update jellyfin_container.sh
This commit is contained in:
parent
c5670c4f67
commit
3f9983e4b9
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user