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