From: "Dominic Jäger" <d.jaeger@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH pve-cluster 1/2] Close #1295: Add notify_updates to datacenter schema
Date: Wed, 7 Apr 2021 10:30:44 +0200 [thread overview]
Message-ID: <20210407083045.62463-1-d.jaeger@proxmox.com> (raw)
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
next reply other threads:[~2021-04-07 8:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-07 8:30 Dominic Jäger [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210407083045.62463-1-d.jaeger@proxmox.com \
--to=d.jaeger@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox