#!/usr/bin/perl

package main;

use lib '.';
use strict;
use warnings;
use PVE::Tools;
use PVE::LXC;
use PVE::PodParser;

my $properties = PVE::LXC::json_config_properties();
my $format = PVE::PodParser::dump_properties($properties);

my $parser = PVE::PodParser->new();
$parser->{include}->{format} = $format;
$parser->parse_from_file($0);

exit 0;

__END__

=head1 NAME

pct.conf - Proxmox VE Container (LXC) configuration files.

=head1 SYNOPSYS

The F</etc/pve/lxc/C<VMID>.conf> files stores container
configuration, where C<VMID> is the numeric ID of the given VM. Note
that C<VMID <= 100> are reserved for internal purposes.

=head1 FILE FORMAT

Configuration files use a simple colon separated key/value format. Each
line has the following format:

 OPTION: value

Blank lines in the file are ignored, and lines starting with a C<#>
character are treated as comments and are also ignored.

One can use the F<pct> command to generate and modify those files.

It is also possible to add low-level lxc style configuration directly, for
example:

 lxc.init_cmd: /sbin/my_own_init

or 

 lxc.init_cmd = /sbin/my_own_init

Those settings are directly passed to the lxc low-level tools.


=head1 OPTIONS

=include format

=include pve_copyright
