]> git.proxmox.com Git - pve-docs.git/blame_incremental - pct.conf.adoc
various minor cleanups
[pve-docs.git] / pct.conf.adoc
... / ...
CommitLineData
1ifdef::manvolnum[]
2PVE({manvolnum})
3================
4include::attributes.txt[]
5
6NAME
7----
8
9pct.conf - Proxmox VE Container Configuration
10
11
12SYNOPSYS
13--------
14
15`/etc/pve/lxc/<CTID>.conf`
16
17
18DESCRIPTION
19-----------
20endif::manvolnum[]
21
22ifndef::manvolnum[]
23Container Configuration
24=======================
25include::attributes.txt[]
26endif::manvolnum[]
27
28The `/etc/pve/lxc/<CTID>.conf` files stores container configuration,
29where `CTID` is the numeric ID of the given container.
30
31NOTE: IDs <= 100 are reserved for internal purposes.
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
42Blank lines in the file are ignored, and lines starting with a `#`
43character are treated as comments and are also ignored.
44
45One can use the `pct` command to generate and modify those files.
46
47It is also possible to add low-level LXC-style configuration directly, for
48example:
49
50 lxc.init_cmd: /sbin/my_own_init
51
52or
53
54 lxc.init_cmd = /sbin/my_own_init
55
56Those settings are directly passed to the LXC low-level tools.
57
58
59Options
60-------
61
62include::pct.conf.5-opts.adoc[]
63
64
65ifdef::manvolnum[]
66include::pve-copyright.adoc[]
67endif::manvolnum[]