]> git.proxmox.com Git - pve-docs.git/blob - gen-pct-network-opts.pl
describe begin/end markers and .pve-ignore.
[pve-docs.git] / gen-pct-network-opts.pl
1 #!/usr/bin/perl
2
3 use lib '.';
4 use strict;
5 use warnings;
6 use PVE::JSONSchema;
7 use PVE::RESTHandler;
8 use PVE::LXC::Config;
9
10 my $prop = PVE::LXC::Config->json_config_properties();
11
12 my $phash = $prop->{net0};
13
14 my $format = $phash->{format};
15
16 my $typetext = PVE::JSONSchema::schema_get_type_text($phash);
17
18 print "`net[n]`: `$typetext`\n\n";
19
20 print PVE::RESTHandler::dump_properties($format);