diff --git a/README.md b/README.md index b94bdc8..064047d 100644 --- a/README.md +++ b/README.md @@ -1,21 +1,31 @@ -I am really poor and I really can't afford a license. I just want to get rid of the annoying dialog on every login. +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) -* Non-intrusive, no changes to any system file, persists between system updates -* Comes with standard Debian package, easy to manage and automate -* You can uninstall at any time, hassle-free -* **No JavaScript is involved** in the whole process +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 -* Go to [release](https://github.com/Jamesits/pve-fake-subscription/releases/latest) to download the latest release -* Run `dpkg -i pve-fake-subscription_*.deb` as root on every Proxmox VE node -* (Optional) `echo "127.0.0.1 shop.maurer-it.com" | sudo tee -a /etc/hosts` to prevent fake keys being sent to the Proxmox servers +1. [Download the latest release](https://github.com/Jamesits/pve-fake-subscription/releases/latest) +1. Install: run `dpkg -i pve-fake-subscription_*.deb` as root on every node +1. (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 + +The fake subscription status doesn't grant you access to the enterprise repository. You should switch to the no-subscription repository if not already done. Use the following method: +- [PVE](https://pve.proxmox.com/wiki/Package_Repositories#sysadmin_no_subscription_repo) +- [PMG](https://pmg.proxmox.com/pmg-docs/pmg-admin-guide.html#pmg_package_repositories) +- [PBS](https://pbs.proxmox.com/docs/installation.html#proxmox-backup-no-subscription-repository) ## Uninstallation diff --git a/usr/bin/pve-fake-subscription b/usr/bin/pve-fake-subscription index c03d359..ba9c718 100755 --- a/usr/bin/pve-fake-subscription +++ b/usr/bin/pve-fake-subscription @@ -115,7 +115,7 @@ if __name__ == "__main__": print("Activating Proxmox Mail Gateway...") activate_pve_pmg("pmgp-1145141919", "/etc/pmg/subscription") - # Proxmox Backup Server (not working yet) + # Proxmox Backup Server if os.path.exists("/etc/proxmox-backup"): print("Activating Proxmox Backup Server...") activate_pbs("pbst-1145141919", "/etc/proxmox-backup/subscription")