Updated jdownloader2_container.sh

This commit is contained in:
Steven Seifried 2022-01-15 11:30:17 +01:00
parent 44a2d56fea
commit 71b04eec3b
No known key found for this signature in database
GPG key ID: 174371A9356D63E5

View file

@ -151,7 +151,7 @@ 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 jdownloader2_setup.sh /jdownloder2_setup.sh -perms 755 pct push $CTID jdownloader2_setup.sh /jdownloader2_setup.sh -perms 755
pct exec $CTID /jdownloader2_setup.sh pct exec $CTID /jdownloader2_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}')