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