mirror of https://github.com/tteck/Proxmox.git
Update jellyfin_container.sh
This commit is contained in:
parent
c5670c4f67
commit
3f9983e4b9
|
@ -72,7 +72,7 @@ function load_module() {
|
||||||
TEMP_DIR=$(mktemp -d)
|
TEMP_DIR=$(mktemp -d)
|
||||||
pushd $TEMP_DIR >/dev/null
|
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
|
load_module overlay
|
||||||
|
|
||||||
|
@ -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 jellyfin2_setup.sh /jellyfin2_setup.sh -perms 755
|
pct push $CTID jellyfin_setup.sh /jellyfin_setup.sh -perms 755
|
||||||
pct exec $CTID /jellyfin2_setup.sh
|
pct exec $CTID /jellyfin_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"
|
||||||
|
|
Loading…
Reference in New Issue