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