]> git.proxmox.com Git - pve-docs.git/blame_incremental - gen-pct-mountpoint-opts.pl
backup: clarify that CLI means FS-level and highlight retention-note
[pve-docs.git] / gen-pct-mountpoint-opts.pl
... / ...
CommitLineData
1#!/usr/bin/perl
2
3use lib '.';
4use strict;
5use warnings;
6use PVE::RESTHandler;
7use PVE::LXC::Config;
8use PVE::JSONSchema;
9
10my $prop = PVE::LXC::Config->json_config_properties();
11
12my $rootfs_prop = $prop->{rootfs};
13
14my $mp_prop = $prop->{mp0};
15
16my $typetext = PVE::JSONSchema::schema_get_type_text($rootfs_prop);
17
18print "`rootfs`: `$typetext` ::\n\n";
19
20print $rootfs_prop->{description} .
21 " See below for a detailed description of all options.\n\n";
22
23$typetext = PVE::JSONSchema::schema_get_type_text($mp_prop);
24
25print "`mp[n]`: `$typetext` ::\n\n";
26print $mp_prop->{description} . "\n\n";
27
28print PVE::RESTHandler::dump_properties($mp_prop->{format}, 'asciidoc', 'config-sub');