public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH pve-cluster 1/2] Close #1295: Add notify_updates to datacenter schema
@ 2021-04-07  8:30 Dominic Jäger
  2021-04-07  8:30 ` [pve-devel] [PATCH manager 2/2] Close #1295: Make apt notifications configurable Dominic Jäger
  0 siblings, 1 reply; 5+ messages in thread
From: Dominic Jäger @ 2021-04-07  8:30 UTC (permalink / raw)
  To: pve-devel

To store user preference for if they want to receive notifications from
pveupdate or not.

Signed-off-by: Dominic Jäger <d.jaeger@proxmox.com>
---
 data/PVE/DataCenterConfig.pm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/data/PVE/DataCenterConfig.pm b/data/PVE/DataCenterConfig.pm
index 24ebf3f..d20292f 100644
--- a/data/PVE/DataCenterConfig.pm
+++ b/data/PVE/DataCenterConfig.pm
@@ -146,6 +146,12 @@ my $datacenter_schema = {
 	    format => 'email-opt',
 	    description => "Specify email address to send notification from (default is root@\$hostname)",
 	},
+	notify_updates => {
+	    optional => 1,
+	    default => 1,
+	    type => 'boolean',
+	    description => 'Control e-mail notifications about system updates',
+	},
 	max_workers => {
 	    optional => 1,
 	    type => 'integer',
-- 
2.20.1




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-04-08  9:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-07  8:30 [pve-devel] [PATCH pve-cluster 1/2] Close #1295: Add notify_updates to datacenter schema Dominic Jäger
2021-04-07  8:30 ` [pve-devel] [PATCH manager 2/2] Close #1295: Make apt notifications configurable Dominic Jäger
2021-04-07  8:51   ` Thomas Lamprecht
2021-04-08  9:21     ` Dominic Jäger
2021-04-08  9:28       ` Thomas Lamprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal