5
0
mirror of git://git.proxmox.com/git/pve-docs.git synced 2025-01-06 13:17:48 +03:00
pve-docs/gen-datacenter.cfg.5-opts.pl
Fabian Grünbichler 19556f5368 use PVE::DataCenterConfig to get schema
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2019-11-15 10:40:07 +01:00

12 lines
232 B
Perl
Executable File

#!/usr/bin/perl
use lib '.';
use strict;
use warnings;
use PVE::DataCenterConfig;
use PVE::RESTHandler;
my $schema = PVE::DataCenterConfig::get_datacenter_schema();
print PVE::RESTHandler::dump_properties($schema->{properties});