]> git.proxmox.com Git - pve-docs.git/blame - pct.conf.adoc
fix spacing in dblatex title page
[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
8c1189b6 15`/etc/pve/lxc/<CTID>.conf`
71e16346
DM
16
17
18DESCRIPTION
19-----------
20endif::manvolnum[]
21
22ifndef::manvolnum[]
23Container Configuration
24=======================
25include::attributes.txt[]
26endif::manvolnum[]
27
8c1189b6
FG
28The `/etc/pve/lxc/<CTID>.conf` files stores container configuration,
29where `CTID` is the numeric ID of the given container.
0abc65b0
FG
30
31NOTE: IDs <= 100 are reserved for internal purposes.
71e16346
DM
32
33
34File Format
35-----------
36
37The file uses a simple colon separated key/value format. Each line has
38the following format:
39
40 OPTION: value
41
8c1189b6 42Blank lines in the file are ignored, and lines starting with a `#`
71e16346
DM
43character are treated as comments and are also ignored.
44
8c1189b6 45One can use the `pct` command to generate and modify those files.
71e16346 46
5eba0743 47It is also possible to add low-level LXC-style configuration directly, for
71e16346
DM
48example:
49
50 lxc.init_cmd: /sbin/my_own_init
51
52or
53
54 lxc.init_cmd = /sbin/my_own_init
55
5eba0743 56Those settings are directly passed to the LXC low-level tools.
71e16346
DM
57
58
59Options
60-------
61
62include::pct.conf.5-opts.adoc[]
63
64
65ifdef::manvolnum[]
66include::pve-copyright.adoc[]
67endif::manvolnum[]