]> git.proxmox.com Git - pve-docs.git/blame - gen-pct-mountpoint-opts.pl
Document network input panel
[pve-docs.git] / gen-pct-mountpoint-opts.pl
CommitLineData
fe154a4f
DM
1#!/usr/bin/perl
2
3use lib '.';
4use strict;
5use warnings;
6use PVE::RESTHandler;
7use PVE::LXC::Config;
f004f5b9 8use PVE::JSONSchema;
fe154a4f
DM
9
10my $prop = PVE::LXC::Config->json_config_properties();
11
12my $rootfs_prop = $prop->{rootfs};
13
14my $mp_prop = $prop->{mp0};
15
f004f5b9 16my $typetext = PVE::JSONSchema::schema_get_type_text($rootfs_prop);
fe154a4f
DM
17
18print "`rootfs`: `$typetext`\n\n";
19
f004f5b9 20$typetext = PVE::JSONSchema::schema_get_type_text($mp_prop);
fe154a4f
DM
21
22print "`mp[n]`: `$typetext`\n\n";
23
24print PVE::RESTHandler::dump_properties($mp_prop->{format});