]> git.proxmox.com Git - pve-docs.git/blob - pct.conf.adoc
make sure we have a text for all xrefs
[pve-docs.git] / pct.conf.adoc
1 ifdef::manvolnum[]
2 PVE({manvolnum})
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 endif::wiki[]
33
34 The `/etc/pve/lxc/<CTID>.conf` files stores container configuration,
35 where `CTID` is the numeric ID of the given container.
36
37 NOTE: IDs <= 100 are reserved for internal purposes.
38
39
40 File Format
41 -----------
42
43 The file uses a simple colon separated key/value format. Each line has
44 the following format:
45
46 OPTION: value
47
48 Blank lines in the file are ignored, and lines starting with a `#`
49 character are treated as comments and are also ignored.
50
51 One can use the `pct` command to generate and modify those files.
52
53 It is also possible to add low-level LXC-style configuration directly, for
54 example:
55
56 lxc.init_cmd: /sbin/my_own_init
57
58 or
59
60 lxc.init_cmd = /sbin/my_own_init
61
62 Those settings are directly passed to the LXC low-level tools.
63
64
65 Options
66 -------
67
68 include::pct.conf.5-opts.adoc[]
69
70
71 ifdef::manvolnum[]
72 include::pve-copyright.adoc[]
73 endif::manvolnum[]