mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-27 00:05:44 +02:00
Update to 2022-09-25 19:00
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
--- /usr/share/perl5/PMG/API2/Subscription.pm.orig 2018-10-19 09:00:37.950836918 +0200
|
||||
+++ /usr/share/perl5/PMG/API2/Subscription.pm 2018-10-19 09:00:45.782516677 +0200
|
||||
@@ -79,7 +79,7 @@
|
||||
my $info = PVE::INotify::read_file('subscription');
|
||||
if (!$info) {
|
||||
return {
|
||||
- status => "NotFound",
|
||||
+ status => "Active",
|
||||
message => "There is no subscription key",
|
||||
serverid => $server_id,
|
||||
url => $url,
|
||||
--- /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js.orig 2022-09-23 20:10:20.125559720 +0200
|
||||
+++ /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js 2022-09-23 20:13:04.311301761 +0200
|
||||
@@ -510,8 +510,7 @@
|
||||
},
|
||||
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,
|
||||
|
@@ -42,7 +42,7 @@
|
||||
tags: pmg
|
||||
|
||||
- name: Remove registration nag
|
||||
patch: src=remove_nag.patch dest=/usr/share/perl5/PMG/API2/Subscription.pm
|
||||
patch: src=remove_nag.patch dest=/usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
|
||||
notify: restart pmgproxy
|
||||
tags: pmg
|
||||
|
||||
|
Reference in New Issue
Block a user