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.

gen-vzdump.conf.5-opts.pl 449B

1234567891011121314151617181920212223242526
  1. #!/usr/bin/perl
  2. use lib '.';
  3. use strict;
  4. use warnings;
  5. use PVE::RESTHandler;
  6. use PVE::VZDump::Common;
  7. my $prop = PVE::VZDump::Common::json_config_properties();
  8. my $skip = {
  9. all => 1,
  10. exclude => 1,
  11. vmid => 1,
  12. node => 1,
  13. quiet => 1,
  14. size => 1,
  15. stop => 1,
  16. };
  17. my $filterFn = sub {
  18. my ($k, $phash) = @_;
  19. return $skip->{$k} || 0;
  20. };
  21. print PVE::RESTHandler::dump_properties($prop, 'asciidoc', 'config', $filterFn);