mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-26 10:49:56 +02:00
Update plex_container.sh
This commit is contained in:
parent
ab04e8547f
commit
e37c579b84
@ -72,8 +72,8 @@ 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/dev/setup/plex_setup.sh
|
wget -qL https://raw.githubusercontent.com/tteck/Proxmox/main/setup/plex_setup.sh
|
||||||
#wget -qL https://raw.githubusercontent.com/tteck/Proxmox/main/misc/intel-drivers.sh
|
|
||||||
load_module overlay
|
load_module overlay
|
||||||
|
|
||||||
while read -r line; do
|
while read -r line; do
|
||||||
@ -160,7 +160,6 @@ 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 plex_setup.sh /plex_setup.sh -perms 755
|
pct push $CTID plex_setup.sh /plex_setup.sh -perms 755
|
||||||
#pct push $CTID intel-drivers.sh /root/intel-drivers.sh -perms 755
|
|
||||||
pct exec $CTID /plex_setup.sh
|
pct exec $CTID /plex_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}')
|
||||||
|
Loading…
Reference in New Issue
Block a user