mirror of
https://github.com/Jamesits/pve-fake-subscription
synced 2025-12-07 11:36:59 -05:00
Compare commits
No commits in common. "31cd2b874692d8a00d6a22b02281cbe0c77b9519" and "945b9247ef8a47ff2735751982168b9808fd1fad" have entirely different histories.
31cd2b8746
...
945b9247ef
@ -1,7 +1,7 @@
|
|||||||
name: "pve-fake-subscription"
|
name: "pve-fake-subscription"
|
||||||
arch: "all"
|
arch: "all"
|
||||||
platform: "linux"
|
platform: "linux"
|
||||||
version: "0.0.11"
|
version: "0.0.10"
|
||||||
version_schema: "semver"
|
version_schema: "semver"
|
||||||
version_metadata: "git"
|
version_metadata: "git"
|
||||||
|
|
||||||
|
|||||||
@ -86,7 +86,7 @@ def activate_pve_pmg(key, subscription_file, *args, **kwargs):
|
|||||||
with open(subscription_file, "w") as f:
|
with open(subscription_file, "w") as f:
|
||||||
f.write(subscription)
|
f.write(subscription)
|
||||||
|
|
||||||
def generate_subscription_pbs(key, server_ids, product_name=ui_product_name, message=ui_message, url=ui_url):
|
def generate_subscription_pbs(key, server_ids, product_name=ui_product_name, message=ui_message):
|
||||||
localinfo = {
|
localinfo = {
|
||||||
"status": "active", # PBS: `new`, `notfound`, `active`, `invalid`
|
"status": "active", # PBS: `new`, `notfound`, `active`, `invalid`
|
||||||
"serverid": ",".join(server_ids),
|
"serverid": ",".join(server_ids),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user