5
0
mirror of git://git.proxmox.com/git/pve-docs.git synced 2025-01-21 18:03:45 +03:00
pve-docs/gen-pct-network-opts.pl

21 lines
387 B
Perl
Raw Normal View History

#!/usr/bin/perl
use lib '.';
use strict;
use warnings;
2016-05-11 10:42:47 +02:00
use PVE::JSONSchema;
use PVE::RESTHandler;
use PVE::LXC::Config;
my $prop = PVE::LXC::Config->json_config_properties();
my $phash = $prop->{net0};
my $format = $phash->{format};
2016-05-11 10:42:47 +02:00
my $typetext = PVE::JSONSchema::schema_get_type_text($phash);
print "`net[n]`: `$typetext`\n\n";
print PVE::RESTHandler::dump_properties($format);