mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-22 16:28:26 +02:00
Update to 2025-08-19 11:00
This commit is contained in:
@@ -1,11 +1,18 @@
|
|||||||
--- /usr/share/perl5/PVE/API2/Subscription.pm.orig 2022-11-02 13:38:18.626006187 +0100
|
diff --git a/usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js.orig b/usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
|
||||||
+++ /usr/share/perl5/PVE/API2/Subscription.pm 2022-11-02 13:41:27.097618728 +0100
|
index ebf9c64..dab16a4 100644
|
||||||
@@ -114,7 +114,7 @@
|
--- a/usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js.orig
|
||||||
my $info = read_etc_subscription();
|
+++ b/usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
|
||||||
if (!$info) {
|
@@ -608,12 +608,7 @@ Ext.define('Proxmox.Utils', {
|
||||||
my $no_subscription_info = {
|
},
|
||||||
- status => "notfound",
|
success: function (response, opts) {
|
||||||
+ status => "active",
|
let res = response.result;
|
||||||
message => "There is no subscription key",
|
- if (
|
||||||
url => $url,
|
- res === null ||
|
||||||
};
|
- res === undefined ||
|
||||||
|
- !res ||
|
||||||
|
- res.data.status.toLowerCase() !== 'active'
|
||||||
|
- ) {
|
||||||
|
+ if (false) {
|
||||||
|
Ext.Msg.show({
|
||||||
|
title: gettext('No valid subscription'),
|
||||||
|
icon: Ext.Msg.WARNING,
|
||||||
|
@@ -35,9 +35,8 @@
|
|||||||
tags: pve
|
tags: pve
|
||||||
|
|
||||||
- name: Remove registration nag
|
- 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
|
ignore_errors: True # Don't fail on old PVE where the patch doesn't apply
|
||||||
notify: restart pveproxy
|
|
||||||
tags: pve
|
tags: pve
|
||||||
|
|
||||||
- name: Ensure dehydrated hook dir exists
|
- name: Ensure dehydrated hook dir exists
|
||||||
|
Reference in New Issue
Block a user