[pve-devel] [PATCH] datacenter.cfg: add new email_from option

Stanislav German-Evtushenko ginermail at gmail.com
Tue Sep 2 14:40:57 CEST 2014


Signed-off-by: Stanislav German-Evtushenko <ginermail at gmail.com>
---
 data/PVE/Cluster.pm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/data/PVE/Cluster.pm b/data/PVE/Cluster.pm
index f679693..e3554b9 100644
--- a/data/PVE/Cluster.pm
+++ b/data/PVE/Cluster.pm
@@ -1264,6 +1264,11 @@ my $datacenter_schema = {
 	    description => "Select the default Console viewer. You can either use the builtin java applet (VNC), an external virt-viewer comtatible application (SPICE), or an HTML5 based viewer (noVNC).",
 	    enum => ['applet', 'vv', 'html5'],
 	},
+	email_from => {
+	    optional => 1,
+	    type => 'string',
+	    description => "Specify email address to send notification from (default is root@\$hostname)",
+	},
     },
 };
 
-- 
1.9.1




More information about the pve-devel mailing list