Tyleo-Scripts/irp-pmx
2024-02-18 19:06:30 +01:00

17 lines
No EOL
1 KiB
Text
Executable file

echo Removing PVE Sub Repo...
rm -f /etc/apt/sources.list.d/*
mv /etc/apt/sources.list /etc/apt/sources.list.pvedisabled
echo Adding Debian Bullseye Original Repos...
echo deb http://deb.debian.org/debian bullseye main > /etc/apt/sources.list
echo deb-src http://deb.debian.org/debian bullseye main >> /etc/apt/sources.list
echo deb http://deb.debian.org/debian-security/ bullseye-security main >> /etc/apt/sources.list
echo deb-src http://deb.debian.org/debian-security/ bullseye-security main >> /etc/apt/sources.list
echo deb http://deb.debian.org/debian bullseye-updates main >> /etc/apt/sources.list
echo deb-src http://deb.debian.org/debian bullseye-updates main >> /etc/apt/sources.list
echo deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription >> /etc/apt/sources.list
apt update
apt upgrade -y
apt install htop fish -y
sleep 2
echo Subscription Killing...
sed -Ezi.bak "s/(Ext.Msg.show\(\{\s+title: gettext\('No valid sub)/void\(\{ \/\/\1/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl restart pveproxy.service