]> git.proxmox.com Git - pve-cluster.git/blob - data/PVE/gen-datacenter-pod.pl
407ae2c5b6649e8c18f9c99828500304fc5b346e
[pve-cluster.git] / data / PVE / gen-datacenter-pod.pl
1 #!/usr/bin/perl
2
3 package main;
4
5 use strict;
6 use warnings;
7 use PVE::Tools;
8 use PVE::Cluster;
9 use PVE::PodParser;
10
11 my $schema = PVE::Cluster::get_datacenter_schema();
12
13 my $format = PVE::PodParser::dump_properties($schema->{properties});
14
15 my $parser = PVE::PodParser->new();
16 $parser->{include}->{format} = $format;
17 $parser->parse_from_file($0);
18
19 exit 0;
20
21 __END__
22
23 =head1 NAME
24
25 datacenter.cfg - Proxmox VE datacenter configuration file
26
27 =head1 SYNOPSYS
28
29 The /etc/pve/datacenter.cfg file is a configuration file for Proxmox
30 VE. It contains cluster wide default values used by all nodes.
31
32 =head1 FILE FORMAT
33
34 The file uses a simple colon separated key/value format. Each line has
35 the following format:
36
37 OPTION: value
38
39 Blank lines in the file are ignored, and lines starting with a C<#>
40 character are treated as comments and are also ignored.
41
42 =head1 OPTIONS
43
44 =include format
45
46 =include pve_copyright