mirror of
https://github.com/Jamesits/pve-fake-subscription
synced 2024-08-30 16:52:18 +00:00
fix it not auto starting after installation
This commit is contained in:
parent
d46e6b308e
commit
c6623dff1a
@ -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
|
* 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
|
* 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
|
## Uninstallation
|
||||||
|
|
||||||
|
@ -6,13 +6,14 @@ fpm -s dir -t deb --force \
|
|||||||
-n pve-fake-subscription \
|
-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" \
|
--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" \
|
--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" \
|
--license "GLWTS(Good Luck With That Shit) Public License" \
|
||||||
--depends "python3" \
|
--depends "python3" \
|
||||||
--architecture all \
|
--architecture all \
|
||||||
--deb-dist "unstable" \
|
--deb-dist "unstable" \
|
||||||
--deb-priority "optional" \
|
--deb-priority "optional" \
|
||||||
--deb-systemd "usr/lib/systemd/system/pve-fake-subscription.timer" \
|
--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" \
|
--after-remove "scripts/purge" \
|
||||||
./usr
|
./usr
|
||||||
|
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
# Pollute Proxmox VE 5.x subscription cache so it won't alert you on dashboard login
|
# Pollute Proxmox software 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"
|
# 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 hashlib
|
||||||
import base64
|
import base64
|
||||||
import json
|
import json
|
||||||
|
@ -10,4 +10,3 @@ Persistent=true
|
|||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=timers.target
|
WantedBy=timers.target
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user