]>
Commit | Line | Data |
---|---|---|
fe154a4f DM |
1 | #!/usr/bin/perl |
2 | ||
3 | use lib '.'; | |
4 | use strict; | |
5 | use warnings; | |
6 | use PVE::RESTHandler; | |
7 | use PVE::LXC::Config; | |
f004f5b9 | 8 | use PVE::JSONSchema; |
fe154a4f DM |
9 | |
10 | my $prop = PVE::LXC::Config->json_config_properties(); | |
11 | ||
12 | my $rootfs_prop = $prop->{rootfs}; | |
13 | ||
14 | my $mp_prop = $prop->{mp0}; | |
15 | ||
f004f5b9 | 16 | my $typetext = PVE::JSONSchema::schema_get_type_text($rootfs_prop); |
fe154a4f | 17 | |
e7ff8761 DM |
18 | print "`rootfs`: `$typetext` ::\n\n"; |
19 | ||
20 | print $rootfs_prop->{description} . | |
21 | " See below for a detailed description of all options.\n\n"; | |
fe154a4f | 22 | |
f004f5b9 | 23 | $typetext = PVE::JSONSchema::schema_get_type_text($mp_prop); |
fe154a4f | 24 | |
e7ff8761 DM |
25 | print "`mp[n]`: `$typetext` ::\n\n"; |
26 | print $mp_prop->{description} . "\n\n"; | |
fe154a4f | 27 | |
e7ff8761 | 28 | print PVE::RESTHandler::dump_properties($mp_prop->{format}, 'asciidoc', 'config-sub'); |