You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 satır
680B

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