[pve-devel] r6518 - pve-cluster/trunk/data/PVE

svn-commits at proxmox.com svn-commits at proxmox.com
Tue Aug 23 06:21:58 CEST 2011


Author: dietmar
Date: 2011-08-23 06:21:58 +0200 (Tue, 23 Aug 2011)
New Revision: 6518

Added:
   pve-cluster/trunk/data/PVE/gen-datacenter-pod.pl
Log:
check in missing file


Added: pve-cluster/trunk/data/PVE/gen-datacenter-pod.pl
===================================================================
--- pve-cluster/trunk/data/PVE/gen-datacenter-pod.pl	                        (rev 0)
+++ pve-cluster/trunk/data/PVE/gen-datacenter-pod.pl	2011-08-23 04:21:58 UTC (rev 6518)
@@ -0,0 +1,45 @@
+#!/usr/bin/perl -w
+
+package main;
+
+use strict;
+use PVE::Tools;
+use PVE::Cluster;
+use PVE::PodParser;
+
+my $schema = PVE::Cluster::get_datacenter_schema();
+
+my $format = PVE::PodParser::dump_properties($schema->{properties});
+
+my $parser = PVE::PodParser->new();
+$parser->{include}->{format} = $format;
+$parser->parse_from_file($0);
+
+exit 0;
+
+__END__
+
+=head1 NAME
+
+datacenter.cfg - Proxmox VE datacenter configuration file
+
+=head1 SYNOPSYS
+
+The /etc/pve/datacenter.cfg file is a configuration file for Proxmox
+VE. It contains cluster wide default values used by all nodes.
+
+=head1 FILE FORMAT
+
+The file uses a simple colon separated key/value format. Each line has
+the following format:
+
+ OPTION: value
+
+Blank lines in the file are ignored, and lines starting with a C<#>
+character are treated as comments and are also ignored.
+
+=head1 OPTIONS
+
+=include format
+
+=include pve_copyright


Property changes on: pve-cluster/trunk/data/PVE/gen-datacenter-pod.pl
___________________________________________________________________
Added: svn:executable
   + *




More information about the pve-devel mailing list