Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Weingartens/1c79e6b954cd3a02159f8aadab9a2782 to your computer and use it in GitHub Desktop.
Save Weingartens/1c79e6b954cd3a02159f8aadab9a2782 to your computer and use it in GitHub Desktop.
Proxmox semi-free

Get a license!

Really, if you are running this in anything production alike, just get a license!!

But im running a lab env, or im a filthy pirate!

Well you cant get access to the enterprise repo's. so get a license instead.

but if you want to remove the annoying nag message:

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

Or in steps:

vim /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js

and search for

Ext.Msg.show({
  title: gettext('No valid subscription'),

Now just replace Ext.Msg.show( with console.log( or disable it by comments or whatever you feel like

And those enterprise repos?

Cant access them without a license, but to prevent the UI from nagging remove /etc/apt/sources.list.d/pve-enterprise.list and run: cat /etc/debian_version to check if you are running debian 10 or 11

10: echo "deb http://download.proxmox.com/debian buster pve-no-subscription" > /etc/apt/sources.list.d/pve-nonsub.ist

11: echo "deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription" > /etc/apt/sources.list.d/pve-nonsub.ist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment