]> git.proxmox.com Git - qemu-server.git/blame - gen-vmconf-pod.pl
drive-mirror : wait that busy eq false before block-job-complete
[qemu-server.git] / gen-vmconf-pod.pl
CommitLineData
990fc5e2 1#!/usr/bin/perl
1e3baf05
DM
2
3package main;
4
5use strict;
990fc5e2 6use warnings;
1e3baf05
DM
7use PVE::Tools;
8use PVE::Cluster;
9use PVE::PodParser;
10use PVE::QemuServer;
11
12my $prop = PVE::QemuServer::json_config_properties();
13my $format = PVE::PodParser::dump_properties($prop);
14
15my $parser = PVE::PodParser->new();
16$parser->{include}->{format} = $format;
17$parser->parse_from_file($0);
18
19exit 0;
20
21__END__
22
23=head1 NAME
24
25vm.conf - Proxmox VE virtual machine (qemu/kvm) configuration files.
26
27=head1 SYNOPSYS
28
29The F</etc/pve/qemu-server/C<VMID>.conf> files stores VM
30configuration, where C<VMID> is the numeric ID of the given VM. Note
31that C<VMID <= 100> are reserved for internal purposes.
32
33=head1 FILE FORMAT
34
35Configuration file use a simple colon separated key/value format. Each
36line has the following format:
37
38 OPTION: value
39
40Blank lines in the file are ignored, and lines starting with a C<#>
41character are treated as comments and are also ignored.
42
43One can use the F<qm> command to generate and modify those files.
44
45=head1 OPTIONS
46
47=include format
48
49=include pve_copyright