/pve-fake-subscription

Disables the "No valid subscription" dialog on all Proxmox products.

Primary LanguagePythonOtherNOASSERTION

Disables the "No valid subscription" dialog on all Proxmox products.

I am really poor and I can't afford a license. I just want to get rid of the annoying dialog.

Features

Works for:

  • Proxmox VE (5.x or later, tested up to 7.0)
  • Proxmox Mail Gateway (5.x or later)
  • Proxmox Backup Server (1.x)

Highlights:

  • Non-intrusive: zero modification of any system file
  • Future-proof: persists between system updates & major upgrades
  • Hassle-free: you can uninstall at any time
  • Comes with standard Debian package, easy to manage and automate
  • No JavaScript is involved in the whole process, as I believe JavaScript is harmful to developers

Installation

  1. Download the latest release
  2. Install: run dpkg -i pve-fake-subscription_*.deb as root on every node
  3. (Optional) echo "127.0.0.1 shop.maurer-it.com" | sudo tee -a /etc/hosts to prevent fake keys from being checked against the Proxmox servers

Notes:

The initial run will be scheduled within 1 minute of the installation. If you don't want to wait, you can invoke it immediately by executing pve-fake-subscription.

After installation, please refrain yourself from clicking the "check" button on the "Subscription" page. It will invalidate the cache and temporary revert your instance into an unlicensed status.

The fake subscription status doesn't grant you free access to the enterprise repository. You should switch to the no-subscription repository if not already done. Use the following method:

Uninstallation

Run as root:

apt purge pve-fake-subscription

This will revert your system to a "no subscription key" status.

Building the Package

Run everything as root on a Debian 10 system:

apt-get install ruby ruby-dev rubygems build-essential
gem install --no-ri --no-rdoc fpm
./package.sh