mirror of https://github.com/tteck/Proxmox.git
Add files via upload
This commit is contained in:
parent
d294bc9d1c
commit
10e5e94860
|
@ -33,7 +33,7 @@ echo -e "${CHECKMARK} \e[1;92m Updating Container OS... \e[0m"
|
||||||
apt update &>/dev/null
|
apt update &>/dev/null
|
||||||
apt-get -qqy upgrade &>/dev/null
|
apt-get -qqy upgrade &>/dev/null
|
||||||
|
|
||||||
echo -e "${CHECKMARK} \e[1;92m Installing Prerequisites... \e[0m"
|
echo -e "${CHECKMARK} \e[1;92m Installing Dependecies... \e[0m"
|
||||||
apt-get -qqy install \
|
apt-get -qqy install \
|
||||||
curl \
|
curl \
|
||||||
sudo \
|
sudo \
|
||||||
|
@ -50,7 +50,8 @@ apt-get -qqy install \
|
||||||
/bin/chmod 660 /dev/dri/*
|
/bin/chmod 660 /dev/dri/*
|
||||||
|
|
||||||
echo -e "${CHECKMARK} \e[1;92m Setting Up Jellyfin Repository... \e[0m"
|
echo -e "${CHECKMARK} \e[1;92m Setting Up Jellyfin Repository... \e[0m"
|
||||||
wget -O - https://repo.jellyfin.org/jellyfin_team.gpg.key | sudo apt-key add - &>/dev/null
|
wget -O - https://repo.jellyfin.org/jellyfin_team.gpg.key &>/dev/null
|
||||||
|
apt-key add - &>/dev/null
|
||||||
echo "deb [arch=$( dpkg --print-architecture )] https://repo.jellyfin.org/debian bullseye main" | tee /etc/apt/sources.list.d/jellyfin.list &>/dev/null
|
echo "deb [arch=$( dpkg --print-architecture )] https://repo.jellyfin.org/debian bullseye main" | tee /etc/apt/sources.list.d/jellyfin.list &>/dev/null
|
||||||
echo -e "${CHECKMARK} \e[1;92m Installing Jellyfin... \e[0m"
|
echo -e "${CHECKMARK} \e[1;92m Installing Jellyfin... \e[0m"
|
||||||
apt update &>/dev/null
|
apt update &>/dev/null
|
||||||
|
@ -67,6 +68,6 @@ ExecStart=-/sbin/agetty --autologin root --noclear --keep-baud tty%I 115200,3840
|
||||||
EOF
|
EOF
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//')
|
systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//')
|
||||||
sudo systemctl enable jellyfin
|
sudo systemctl enable jellyfin &>/dev/null
|
||||||
echo -e "${CHECKMARK} \e[1;92m Cleanup... \e[0m"
|
echo -e "${CHECKMARK} \e[1;92m Cleanup... \e[0m"
|
||||||
rm -rf /jellyfin_setup.sh /var/{cache,log}/* /var/lib/apt/lists/*
|
rm -rf /jellyfin_setup.sh /var/{cache,log}/* /var/lib/apt/lists/*
|
||||||
|
|
Loading…
Reference in New Issue