]> git.proxmox.com Git - pve-docs.git/blame - gen-pct-network-opts.pl
pvecm: fix wrong quorum numbers
[pve-docs.git] / gen-pct-network-opts.pl
CommitLineData
bac8c385
DM
1#!/usr/bin/perl
2
3use lib '.';
4use strict;
5use warnings;
f004f5b9 6use PVE::JSONSchema;
bac8c385
DM
7use PVE::RESTHandler;
8use PVE::LXC::Config;
9
10my $prop = PVE::LXC::Config->json_config_properties();
11
12my $phash = $prop->{net0};
13
14my $format = $phash->{format};
15
f004f5b9 16my $typetext = PVE::JSONSchema::schema_get_type_text($phash);
bac8c385 17
bc132ec5
DM
18print "`net[n]`: `$typetext` ::\n\n";
19print $phash->{description} . "\n\n";
bac8c385 20
bc132ec5 21print PVE::RESTHandler::dump_properties($format, 'asciidoc', 'config-sub');