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