Disable Proxmox Nagging Subscription Popup and Enterprise Apt Repository
#Proxmox #Hypervisor #NagScreen
Full steps can be found at https://i12bretro.github.io/tutorials/0446.html
01. Log into ProxMox VE, either at the console or the web UI and launch the web shell
02. Run the following commands
# disable proxmox commmercial repo
sed -i "s/^deb/\#deb/" /etc/apt/sources.list.d/pve-enterprise.list
# add the proxmox community repo
echo "deb http://download.proxmox.com/debian/pve $(grep "VERSION=" /etc/os-release | sed -n 's/.*(\(.*\)).*/\1/p') pve-no-subscription" ≫ /etc/apt/sources.list.d/pve-community.list
# update software repositories
apt update
# remove no subscription nag popup
# if running promox 6
sed -i.bak 's/NotFound/Active/g' /usr/share/perl5/PVE/API2/Subscription.pm
# if running proxmox 7
sed -Ezi.bak "s/(Ext.Msg.show\(\{\s+title: gettext\('No valid sub)/void\(\{ \/\/\1/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
# restart pveproxy service
systemctl restart pveproxy.service
03. After running the commands, log out of ProxMox VE web UI and log back in
### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro