diff --git a/README.md b/README.md index 087bac7..b94bdc8 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,7 @@ I am really poor and I really can't afford a license. I just want to get rid of * 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 ## Uninstallation diff --git a/package.sh b/package.sh index 1bcaf75..6c744b9 100755 --- a/package.sh +++ b/package.sh @@ -6,13 +6,14 @@ fpm -s dir -t deb --force \ -n pve-fake-subscription \ --description "Pollute the subscription cache of Proxmox VE (>=5.0), Proxmox Mail Gateway (>=5.0) & Proxmox Backup Server (>=1.0) so it won't alert you on dashboard login" \ --url "https://github.com/Jamesits/pve-fake-subscription" \ - -v 0.0.6 \ + -v 0.0.7 \ --license "GLWTS(Good Luck With That Shit) Public License" \ --depends "python3" \ --architecture all \ --deb-dist "unstable" \ --deb-priority "optional" \ --deb-systemd "usr/lib/systemd/system/pve-fake-subscription.timer" \ + --deb-systemd-enable --deb-systemd-auto-start --deb-systemd-restart-after-upgrade \ --after-remove "scripts/purge" \ ./usr diff --git a/usr/bin/pve-fake-subscription b/usr/bin/pve-fake-subscription index c450980..c03d359 100755 --- a/usr/bin/pve-fake-subscription +++ b/usr/bin/pve-fake-subscription @@ -1,7 +1,8 @@ #!/usr/bin/env python3 -# Pollute Proxmox VE 5.x subscription cache so it won't alert you on dashboard login -# If you need to prevent it checking keys against a server, please block "shop.maurer-it.com" +# Pollute Proxmox software subscription cache so it won't alert you on dashboard login +# Should be scheduled to run every few hours with a timer to prevent cache from expiring +# If you need to prevent it checking keys against a server, please block "shop.maurer-it.com" in your hosts file import hashlib import base64 import json diff --git a/usr/lib/systemd/system/pve-fake-subscription.timer b/usr/lib/systemd/system/pve-fake-subscription.timer index 93a7843..f609151 100644 --- a/usr/lib/systemd/system/pve-fake-subscription.timer +++ b/usr/lib/systemd/system/pve-fake-subscription.timer @@ -10,4 +10,3 @@ Persistent=true [Install] WantedBy=timers.target -