Skip to content

Instantly share code, notes, and snippets.

@Xantios
Last active April 12, 2024 02:53
Show Gist options
  • Save Xantios/c2ebad99f5f61bc4ddc640d724283a21 to your computer and use it in GitHub Desktop.
Save Xantios/c2ebad99f5f61bc4ddc640d724283a21 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

@ngadmini
Copy link

what version proxmox-widget-toolkit you have ?
is that proxmox-widget-toolkit.3.5.5 ?

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