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