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