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