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