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