install gen-vzdump.conf.5-opts.pl
[pve-docs.git] / pct.conf.adoc
CommitLineData
71e16346
DM
1ifdef::manvolnum[]
2PVE({manvolnum})
3================
4include::attributes.txt[]
5
6NAME
7----
8
9pct.conf - Proxmox VE Container Configuration
10
11
12SYNOPSYS
13--------
14
15'/etc/pve/lxc/<CTID>.conf'
16
17
18DESCRIPTION
19-----------
20endif::manvolnum[]
21
22ifndef::manvolnum[]
23Container Configuration
24=======================
25include::attributes.txt[]
26endif::manvolnum[]
27
28The '/etc/pve/lxc/<CTID>.conf' files stores container configuration,
29where "CTID" is the numeric ID of the given container. Note that IDs <=
30100 are reserved for internal purposes.
31
32
33File Format
34-----------
35
36The file uses a simple colon separated key/value format. Each line has
37the following format:
38
39 OPTION: value
40
41Blank lines in the file are ignored, and lines starting with a '#'
42character are treated as comments and are also ignored.
43
44One can use the 'pct' command to generate and modify those files.
45
46It is also possible to add low-level lxc style configuration directly, for
47example:
48
49 lxc.init_cmd: /sbin/my_own_init
50
51or
52
53 lxc.init_cmd = /sbin/my_own_init
54
55Those settings are directly passed to the lxc low-level tools.
56
57
58Options
59-------
60
61include::pct.conf.5-opts.adoc[]
62
63
64ifdef::manvolnum[]
65include::pve-copyright.adoc[]
66endif::manvolnum[]