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