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

Signed-off-by: Dominic Jäger <d.jae...@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


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to