mirror of
https://github.com/Jamesits/pve-fake-subscription
synced 2025-12-10 04:52:49 -05:00
Rename and reformat pve-fake-subscription to fake-proxmox-subscription
This commit is contained in:
parent
31cd2b8746
commit
5dcd7f0d75
@ -1,39 +1,44 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
after_upgrade() {
|
DEBSYSTEMCTL=$(command -v deb-systemd-invoke || echo systemctl)
|
||||||
:
|
|
||||||
|
|
||||||
|
after_upgrade() {
|
||||||
if command -v systemctl >/dev/null; then
|
if command -v systemctl >/dev/null; then
|
||||||
systemctl --system daemon-reload >/dev/null || true
|
systemctl --system daemon-reload >/dev/null || true
|
||||||
debsystemctl=$(command -v deb-systemd-invoke || echo systemctl)
|
|
||||||
if ! systemctl is-enabled pve-fake-subscription.timer >/dev/null
|
if ! systemctl is-enabled fake-proxmox-subscription.timer >/dev/null; then
|
||||||
then
|
# Ensure this if-clause is not empty.
|
||||||
: # Ensure this if-clause is not empty. If it were empty, and we had an 'else', then it is an error in shell syntax
|
# If it was empty, and we had an 'else', then it is an error in shell syntax.
|
||||||
systemctl preset pve-fake-subscription.timer >/dev/null || true
|
systemctl preset fake-proxmox-subscription.timer >/dev/null || true
|
||||||
$debsystemctl start pve-fake-subscription.timer >/dev/null || true
|
$DEBSYSTEMCTL start fake-proxmox-subscription.timer >/dev/null || true
|
||||||
|
|
||||||
else
|
else
|
||||||
$debsystemctl restart pve-fake-subscription.timer >/dev/null || true
|
$DEBSYSTEMCTL restart fake-proxmox-subscription.timer >/dev/null || true
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
else
|
else
|
||||||
ln -sf /usr/bin/pve-fake-subscription /etc/cron.hourly/pve-fake-subscription
|
ln -sf /usr/bin/fake-proxmox-subscription /etc/cron.hourly/fake-proxmox-subscription
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pve-fake-subscription
|
# Execute the fake-proxmox-subscription script:
|
||||||
|
/usr/bin/fake-proxmox-subscription
|
||||||
}
|
}
|
||||||
|
|
||||||
after_install() {
|
after_install() {
|
||||||
:
|
|
||||||
|
|
||||||
if command -v systemctl >/dev/null; then
|
if command -v systemctl >/dev/null; then
|
||||||
systemctl --system daemon-reload >/dev/null || true
|
systemctl --system daemon-reload >/dev/null || true
|
||||||
debsystemctl=$(command -v deb-systemd-invoke || echo systemctl)
|
systemctl preset fake-proxmox-subscription.timer >/dev/null || true
|
||||||
systemctl preset pve-fake-subscription.timer >/dev/null || true
|
$DEBSYSTEMCTL start fake-proxmox-subscription.timer >/dev/null || true
|
||||||
$debsystemctl start pve-fake-subscription.timer >/dev/null || true
|
|
||||||
else
|
else
|
||||||
ln -sf /usr/bin/pve-fake-subscription /etc/cron.hourly/pve-fake-subscription
|
ln -sf /usr/bin/fake-proxmox-subscription /etc/cron.hourly/fake-proxmox-subscription
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pve-fake-subscription
|
# Execute the fake-proxmox-subscription script:
|
||||||
|
/usr/bin/fake-proxmox-subscription
|
||||||
}
|
}
|
||||||
|
|
||||||
if { [ "${1}" = "configure" ] && [ -z "${2}" ]; } || [ "${1}" = "abort-remove" ]; then
|
if { [ "${1}" = "configure" ] && [ -z "${2}" ]; } || [ "${1}" = "abort-remove" ]; then
|
||||||
@ -42,15 +47,18 @@ if { [ "${1}" = "configure" ] && [ -z "${2}" ]; } || [ "${1}" = "abort-remove" ]
|
|||||||
# In that case, this script, which should be idemptoent, is run
|
# In that case, this script, which should be idemptoent, is run
|
||||||
# to ensure a clean roll-back of the removal.
|
# to ensure a clean roll-back of the removal.
|
||||||
after_install
|
after_install
|
||||||
|
|
||||||
elif [ "${1}" = "configure" ] && [ -n "${2}" ]; then
|
elif [ "${1}" = "configure" ] && [ -n "${2}" ]; then
|
||||||
upgradeFromVersion="${2}"
|
UPGRADEDFROMVERSION="${2}"
|
||||||
# "after upgrade" here
|
# "after upgrade" here
|
||||||
# NOTE: This slot is also used when deb packages are removed,
|
# NOTE: This slot is also used when deb packages are removed,
|
||||||
# but their config files aren't, but a newer version of the
|
# but their config files aren't, but a newer version of the
|
||||||
# package is installed later, called "Config-Files" state.
|
# package is installed later, called "Config-Files" state.
|
||||||
# basically, that still looks a _lot_ like an upgrade to me.
|
# basically, that still looks a _lot_ like an upgrade to me.
|
||||||
after_upgrade "${2}"
|
after_upgrade "${2}"
|
||||||
|
|
||||||
elif echo "${1}" | grep -E -q "(abort|fail)"; then
|
elif echo "${1}" | grep -E -q "(abort|fail)"; then
|
||||||
echo "Failed to install before the post-installation script was run." >&2
|
echo "Failed to install before the post-installation script was run." >&2
|
||||||
exit 1
|
exit 1
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|||||||
@ -1,21 +1,18 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
after_remove() {
|
after_remove() {
|
||||||
:
|
|
||||||
|
|
||||||
rm -f /etc/subscription
|
rm -f /etc/subscription
|
||||||
rm -f /etc/pmg/subscription
|
rm -f /etc/pmg/subscription
|
||||||
rm -f /etc/proxmox-backup/subscription
|
rm -f /etc/proxmox-backup/subscription
|
||||||
|
rm -f /etc/cron.hourly/fake-proxmox-subscription
|
||||||
rm -f /etc/cron.hourly/pve-fake-subscription
|
|
||||||
}
|
}
|
||||||
|
|
||||||
after_purge() {
|
after_purge() {
|
||||||
:
|
true
|
||||||
}
|
}
|
||||||
|
|
||||||
dummy() {
|
dummy() {
|
||||||
:
|
true
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ "${1}" = "remove" ] || [ "${1}" = "abort-install" ]; then
|
if [ "${1}" = "remove" ] || [ "${1}" = "abort-install" ]; then
|
||||||
@ -24,11 +21,13 @@ if [ "${1}" = "remove" ] || [ "${1}" = "abort-install" ]; then
|
|||||||
# In that case, this script, which should be idemptoent, is run
|
# In that case, this script, which should be idemptoent, is run
|
||||||
# to ensure a clean roll-back of the installation.
|
# to ensure a clean roll-back of the installation.
|
||||||
after_remove
|
after_remove
|
||||||
|
|
||||||
elif [ "${1}" = "purge" ] && [ -z "${2}" ]; then
|
elif [ "${1}" = "purge" ] && [ -z "${2}" ]; then
|
||||||
# like "on remove", but executes after dpkg deletes config files
|
# like "on remove", but executes after dpkg deletes config files
|
||||||
# 'apt-get purge' runs 'on remove' section, then this section.
|
# 'apt-get purge' runs 'on remove' section, then this section.
|
||||||
# There is no equivalent in RPM or ARCH.
|
# There is no equivalent in RPM or ARCH.
|
||||||
after_purge
|
after_purge
|
||||||
|
|
||||||
elif [ "${1}" = "upgrade" ]; then
|
elif [ "${1}" = "upgrade" ]; then
|
||||||
# This represents the case where the old package's postrm is called after
|
# This represents the case where the old package's postrm is called after
|
||||||
# the 'preinst' script is called.
|
# the 'preinst' script is called.
|
||||||
@ -37,7 +36,9 @@ elif [ "${1}" = "upgrade" ]; then
|
|||||||
# upgrade, not the uninstalled one, since it can't anticipate what new
|
# upgrade, not the uninstalled one, since it can't anticipate what new
|
||||||
# things it will have to do to upgrade for the new version.
|
# things it will have to do to upgrade for the new version.
|
||||||
dummy
|
dummy
|
||||||
|
|
||||||
elif echo "${1}" | grep -E -q '(fail|abort)'; then
|
elif echo "${1}" | grep -E -q '(fail|abort)'; then
|
||||||
echo "Failed to install before the post-removal script was run." >&2
|
echo "Failed to install before the post-removal script was run." >&2
|
||||||
exit 1
|
exit 1
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|||||||
@ -1,29 +1,31 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
before_remove() {
|
DEBSYSTEMCTL=$(command -v deb-systemd-invoke || echo systemctl)
|
||||||
:
|
|
||||||
|
|
||||||
debsystemctl=$(command -v deb-systemd-invoke || echo systemctl)
|
before_remove() {
|
||||||
$debsystemctl stop pve-fake-subscription.timer >/dev/null || true
|
$DEBSYSTEMCTL stop fake-proxmox-subscription.timer >/dev/null || true
|
||||||
systemctl disable pve-fake-subscription.timer >/dev/null || true
|
systemctl disable fake-proxmox-subscription.timer >/dev/null || true
|
||||||
systemctl --system daemon-reload >/dev/null || true
|
systemctl --system daemon-reload >/dev/null || true
|
||||||
}
|
}
|
||||||
|
|
||||||
dummy() {
|
dummy() {
|
||||||
:
|
true
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ "${1}" = "remove" ] && [ -z "${2}" ]; then
|
if [ "${1}" = "remove" ] && [ -z "${2}" ]; then
|
||||||
# "before remove" goes here
|
# "before remove" goes here:
|
||||||
before_remove
|
before_remove
|
||||||
|
|
||||||
elif [ "${1}" = "upgrade" ]; then
|
elif [ "${1}" = "upgrade" ]; then
|
||||||
# Executed before the old version is removed
|
# This section is executed before the old version is removed upon upgrade.
|
||||||
# upon upgrade.
|
# Generally, we should not be doing anything here for the purposes of this
|
||||||
# We should generally not do anything here. The newly installed package
|
# package. The newly installed package should do the upgrade, not the
|
||||||
# should do the upgrade, not the uninstalled one, since it can't anticipate
|
# uninstalled one. This is mainly because the uninstalled one cannot
|
||||||
# what new things it will have to do to upgrade for the new version.
|
# anticipate what the updated package will change.
|
||||||
dummy
|
dummy
|
||||||
|
|
||||||
elif echo "${1}" | grep -E -q "(fail|abort)"; then
|
elif echo "${1}" | grep -E -q "(fail|abort)"; then
|
||||||
echo "Failed to install before the pre-removal script was run." >&2
|
echo "Failed to install before the pre-removal script was run." >&2
|
||||||
exit 1
|
exit 1
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|||||||
@ -1,8 +1,16 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
# 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
|
Pollutes the Proxmox software subscription cache so it won't doesn't nag you
|
||||||
# If you need to prevent it checking keys against a server, please block "shop.maurer-it.com" in your hosts file
|
on login.
|
||||||
|
|
||||||
|
The script should be scheduled to run every few hours using a timer to prevent
|
||||||
|
the cache from expiring.
|
||||||
|
|
||||||
|
If you need to prevent it from checking keys against a server, block
|
||||||
|
"shop.maurer-it.com" in your /etc/hosts file (or block network traffic to the
|
||||||
|
host)
|
||||||
|
"""
|
||||||
|
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
import hashlib
|
import hashlib
|
||||||
@ -14,38 +22,46 @@ import sys
|
|||||||
import os
|
import os
|
||||||
from datetime import datetime, timedelta
|
from datetime import datetime, timedelta
|
||||||
|
|
||||||
|
|
||||||
# PVE & PMG: /usr/share/perl5/PVE/Subscription.pm
|
# PVE & PMG: /usr/share/perl5/PVE/Subscription.pm
|
||||||
# PBS: /usr/lib/x86_64-linux-gnu/proxmox-backup/* (source code at `https://git.proxmox.com/git/proxmox-backup.git`)
|
# PBS: /usr/lib/x86_64-linux-gnu/proxmox-backup/*
|
||||||
|
# (Source code available at https://git.proxmox.com/?p=proxmox-backup.git)
|
||||||
shared_key_data = "kjfdlskfhiuewhfk947368"
|
shared_key_data = "kjfdlskfhiuewhfk947368"
|
||||||
server_key_file = "/etc/ssh/ssh_host_rsa_key.pub"
|
server_key_file = "/etc/ssh/ssh_host_rsa_key.pub"
|
||||||
|
|
||||||
# Default license keys
|
# Default license keys:
|
||||||
lic_pve = "pve8p-1145141919"
|
license_pve = "pve8p-1145141919"
|
||||||
lic_pmg = "pmgp-1145141919"
|
license_pmg = "pmgp-1145141919"
|
||||||
lic_pbs = "pbst-1145141919"
|
license_pbs = "pbst-1145141919"
|
||||||
|
|
||||||
|
# UI customization:
|
||||||
|
ui_product_name = "Proxmox"
|
||||||
|
ui_message = "Jamesits and Arszilla has got your back"
|
||||||
|
ui_url = "https://github.com/Arszilla/fake-proxmox-subscription"
|
||||||
|
|
||||||
# UI customization
|
|
||||||
ui_product_name = "YajuuSenpai"
|
|
||||||
ui_message = "Yajuu Senpai has got your back"
|
|
||||||
ui_url = "https://github.com/Jamesits/pve-fake-subscription"
|
|
||||||
|
|
||||||
def get_timestamp():
|
def get_timestamp():
|
||||||
return int(time.time())
|
return int(time.time())
|
||||||
|
|
||||||
# Perl's md5_base64 implementation
|
|
||||||
def md5_base64_perl(x):
|
|
||||||
return base64.b64encode(hashlib.md5(x.encode()).digest()).strip(b'=').decode()
|
|
||||||
|
|
||||||
# Rust's `base64::encode(tools::md5sum("something")?);`
|
# Perl's md5_base64 implementation:
|
||||||
|
def md5_base64_perl(x):
|
||||||
|
return base64.b64encode(hashlib.md5(x.encode()).digest()).strip(b"=").decode()
|
||||||
|
|
||||||
|
|
||||||
|
# Rust's 'base64::encode(tools::md5sum("something")?);':
|
||||||
def md5_base64_rs(x):
|
def md5_base64_rs(x):
|
||||||
return base64.b64encode(hashlib.md5(x.encode()).digest()).decode()
|
return base64.b64encode(hashlib.md5(x.encode()).digest()).decode()
|
||||||
|
|
||||||
|
|
||||||
def generate_server_id(key):
|
def generate_server_id(key):
|
||||||
return hashlib.md5(key.encode()).hexdigest().upper()
|
return hashlib.md5(key.encode()).hexdigest().upper()
|
||||||
|
|
||||||
|
|
||||||
def dt_string(format, offset_secs=0):
|
def dt_string(format, offset_secs=0):
|
||||||
return (datetime.now() + timedelta(seconds=offset_secs)).strftime(format)
|
return (datetime.now() + timedelta(seconds=offset_secs)).strftime(format)
|
||||||
|
|
||||||
|
|
||||||
def generate_subscription_pve_pmg(key, server_ids, product_name=ui_product_name):
|
def generate_subscription_pve_pmg(key, server_ids, product_name=ui_product_name):
|
||||||
localinfo = {
|
localinfo = {
|
||||||
"checktime": get_timestamp(),
|
"checktime": get_timestamp(),
|
||||||
@ -63,74 +79,84 @@ def generate_subscription_pve_pmg(key, server_ids, product_name=ui_product_name)
|
|||||||
|
|
||||||
return key + "\n" + csum + "\n" + data + "\n"
|
return key + "\n" + csum + "\n" + data + "\n"
|
||||||
|
|
||||||
# key_pattern can be find in /usr/share/perl5/{PVE,PMG}/API2/Subscription.pm
|
|
||||||
# PVE5+: r'pve([1248])([cbsp])-[0-9a-f]{10}'
|
# key_pattern can be found in /usr/share/perl5/{PVE,PMG}/API2/Subscription.pm
|
||||||
# PVE3/4: r'pve([124])([cbsp])-[0-9a-f]{10}'
|
# PVE5+: r'pve([1248])([cbsp])-[0-9a-f]{10}'
|
||||||
# PMG: r'pmg([cbsp])-[0-9a-f]{10}'
|
# PVE3/4: r'pve([124])([cbsp])-[0-9a-f]{10}'
|
||||||
|
# PMG: r'pmg([cbsp])-[0-9a-f]{10}'
|
||||||
def activate_pve_pmg(key, subscription_file, *args, **kwargs):
|
def activate_pve_pmg(key, subscription_file, *args, **kwargs):
|
||||||
# check if the key format is correct
|
# Check if the key format is correct:
|
||||||
# pattern = re.compile(key_pattern)
|
# pattern = re.compile(key_pattern)
|
||||||
# if not pattern.match(key):
|
# if not pattern.match(key):
|
||||||
# print("key format error", file=sys.stderr)
|
# print("key format error", file=sys.stderr)
|
||||||
# sys.exit(1)
|
# sys.exit(1)
|
||||||
|
|
||||||
# get machine ID
|
# Get machine ID:
|
||||||
server_id = ""
|
server_id = ""
|
||||||
with open(server_key_file, "r") as f:
|
with open(server_key_file, "r") as f:
|
||||||
server_id = generate_server_id(f.read())
|
server_id = generate_server_id(f.read())
|
||||||
|
|
||||||
# generate a license file
|
# Generate a license file:
|
||||||
subscription = generate_subscription_pve_pmg(key, [server_id], *args, **kwargs)
|
subscription = generate_subscription_pve_pmg(key, [server_id], *args, **kwargs)
|
||||||
|
|
||||||
# write license file
|
# Write the license file:
|
||||||
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, url=ui_url):
|
||||||
localinfo = {
|
localinfo = {
|
||||||
"status": "active", # PBS: `new`, `notfound`, `active`, `invalid`
|
# Possible values for "status" in PBS:
|
||||||
|
# - new
|
||||||
|
# - notfound
|
||||||
|
# - active
|
||||||
|
# - invalid
|
||||||
|
"status": "active",
|
||||||
"serverid": ",".join(server_ids),
|
"serverid": ",".join(server_ids),
|
||||||
"checktime": get_timestamp(),
|
"checktime": get_timestamp(),
|
||||||
"key": key,
|
"key": key,
|
||||||
"message": message,
|
"message": message,
|
||||||
"productname": product_name,
|
"productname": product_name,
|
||||||
"regdate": dt_string("%Y-%m-%d %H:%M:%S"),
|
"regdate": dt_string("%Y-%m-%d %H:%M:%S"),
|
||||||
"nextduedate": dt_string("%Y-%m-%d", 1296000), # 1296000: MAX_LOCAL_KEY_AGE in src/tools/subscription.rs
|
# 1296000 is the MAX_LOCAL_KEY_AGE in src/tools/subscription.rs
|
||||||
|
"nextduedate": dt_string("%Y-%m-%d", 1296000),
|
||||||
"url": url,
|
"url": url,
|
||||||
}
|
}
|
||||||
|
|
||||||
data = base64.standard_b64encode(json.dumps(localinfo).encode()).decode()
|
data = base64.standard_b64encode(json.dumps(localinfo).encode()).decode()
|
||||||
cat = str(localinfo["checktime"]) + data + shared_key_data
|
cat = str(localinfo["checktime"]) + data + shared_key_data
|
||||||
csum = md5_base64_rs(cat)
|
checksum = md5_base64_rs(cat)
|
||||||
|
|
||||||
|
return key + "\n" + checksum + "\n" + data + "\n"
|
||||||
|
|
||||||
return key + "\n" + csum + "\n" + data + "\n"
|
|
||||||
|
|
||||||
# Key pattern: pbst-xxxxxxxxxx
|
# Key pattern: pbst-xxxxxxxxxx
|
||||||
def activate_pbs(key, subscription_file, *args, **kwargs):
|
def activate_pbs(key, subscription_file, *args, **kwargs):
|
||||||
# get machine ID
|
# Get machine ID:
|
||||||
server_id = ""
|
server_id = ""
|
||||||
with open(server_key_file, "r") as f:
|
with open(server_key_file, "r") as f:
|
||||||
server_id = generate_server_id(f.read())
|
server_id = generate_server_id(f.read())
|
||||||
|
|
||||||
# generate a license file
|
# Generate a license file:
|
||||||
subscription = generate_subscription_pbs(key, [server_id], *args, **kwargs)
|
subscription = generate_subscription_pbs(key, [server_id], *args, **kwargs)
|
||||||
|
|
||||||
# write license file
|
# Write the license file:
|
||||||
with open(subscription_file, "w") as f:
|
with open(subscription_file, "w") as f:
|
||||||
f.write(subscription)
|
f.write(subscription)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
# Proxmox VE
|
# Proxmox VE
|
||||||
if os.path.exists("/etc/pve"):
|
if os.path.exists("/etc/pve"):
|
||||||
print("Activating Proxmox VE...")
|
print("Activating Proxmox VE...")
|
||||||
activate_pve_pmg(lic_pve, "/etc/subscription")
|
activate_pve_pmg(license_pve, "/etc/subscription")
|
||||||
|
|
||||||
# Proxmox Mail Gateway
|
# Proxmox Mail Gateway
|
||||||
if os.path.exists("/etc/pmg"):
|
if os.path.exists("/etc/pmg"):
|
||||||
print("Activating Proxmox Mail Gateway...")
|
print("Activating Proxmox Mail Gateway...")
|
||||||
activate_pve_pmg(lic_pmg, "/etc/pmg/subscription")
|
activate_pve_pmg(license_pmg, "/etc/pmg/subscription")
|
||||||
|
|
||||||
# Proxmox Backup Server
|
# Proxmox Backup Server
|
||||||
if os.path.exists("/etc/proxmox-backup"):
|
if os.path.exists("/etc/proxmox-backup"):
|
||||||
print("Activating Proxmox Backup Server...")
|
print("Activating Proxmox Backup Server...")
|
||||||
activate_pbs(lic_pbs, "/etc/proxmox-backup/subscription")
|
activate_pbs(license_pbs, "/etc/proxmox-backup/subscription")
|
||||||
@ -0,0 +1 @@
|
|||||||
|
enable fake-proxmox-subscription.timer
|
||||||
@ -1 +0,0 @@
|
|||||||
enable pve-fake-subscription.timer
|
|
||||||
6
usr/lib/systemd/system/fake-proxmox-subscription.service
Normal file
6
usr/lib/systemd/system/fake-proxmox-subscription.service
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Fake Proxmox Subscription - Service
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
ExecStart=/usr/bin/fake-proxmox-subscription
|
||||||
@ -1,5 +1,5 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Refresh fake Proxmox VE subscription cache every day
|
Description=Fake Proxmox Subscription - Refresher
|
||||||
|
|
||||||
[Timer]
|
[Timer]
|
||||||
OnActiveSec=0s
|
OnActiveSec=0s
|
||||||
@ -1,6 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Fake a Proxmox VE subscription
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=oneshot
|
|
||||||
ExecStart=/usr/bin/pve-fake-subscription
|
|
||||||
Loading…
Reference in New Issue
Block a user