Update to 2025-08-19 11:00

This commit is contained in:
Daniel Berteaud
2025-08-19 11:00:24 +02:00
parent 99a73d7478
commit 09c2419914
2 changed files with 19 additions and 13 deletions

View File

@@ -1,11 +1,18 @@
--- /usr/share/perl5/PVE/API2/Subscription.pm.orig 2022-11-02 13:38:18.626006187 +0100
+++ /usr/share/perl5/PVE/API2/Subscription.pm 2022-11-02 13:41:27.097618728 +0100
@@ -114,7 +114,7 @@
my $info = read_etc_subscription();
if (!$info) {
my $no_subscription_info = {
- status => "notfound",
+ status => "active",
message => "There is no subscription key",
url => $url,
};
diff --git a/usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js.orig b/usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
index ebf9c64..dab16a4 100644
--- a/usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js.orig
+++ b/usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
@@ -608,12 +608,7 @@ Ext.define('Proxmox.Utils', {
},
success: function (response, opts) {
let res = response.result;
- if (
- res === null ||
- res === undefined ||
- !res ||
- res.data.status.toLowerCase() !== 'active'
- ) {
+ if (false) {
Ext.Msg.show({
title: gettext('No valid subscription'),
icon: Ext.Msg.WARNING,

View File

@@ -35,9 +35,8 @@
tags: pve
- name: Remove registration nag
patch: src=remove_nag.patch dest=/usr/share/perl5/PVE/API2/Subscription.pm
patch: src=remove_nag.patch dest=/usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
ignore_errors: True # Don't fail on old PVE where the patch doesn't apply
notify: restart pveproxy
tags: pve
- name: Ensure dehydrated hook dir exists