]>
Commit | Line | Data |
---|---|---|
71e16346 DM |
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 | ||
49a5e11c | 12 | SYNOPSIS |
71e16346 DM |
13 | -------- |
14 | ||
8c1189b6 | 15 | `/etc/pve/lxc/<CTID>.conf` |
71e16346 DM |
16 | |
17 | ||
18 | DESCRIPTION | |
19 | ----------- | |
20 | endif::manvolnum[] | |
21 | ||
22 | ifndef::manvolnum[] | |
23 | Container Configuration | |
24 | ======================= | |
25 | include::attributes.txt[] | |
26 | endif::manvolnum[] | |
27 | ||
8c1189b6 FG |
28 | The `/etc/pve/lxc/<CTID>.conf` files stores container configuration, |
29 | where `CTID` is the numeric ID of the given container. | |
0abc65b0 FG |
30 | |
31 | NOTE: IDs <= 100 are reserved for internal purposes. | |
71e16346 DM |
32 | |
33 | ||
34 | File Format | |
35 | ----------- | |
36 | ||
37 | The file uses a simple colon separated key/value format. Each line has | |
38 | the following format: | |
39 | ||
40 | OPTION: value | |
41 | ||
8c1189b6 | 42 | Blank lines in the file are ignored, and lines starting with a `#` |
71e16346 DM |
43 | character are treated as comments and are also ignored. |
44 | ||
8c1189b6 | 45 | One can use the `pct` command to generate and modify those files. |
71e16346 | 46 | |
5eba0743 | 47 | It is also possible to add low-level LXC-style configuration directly, for |
71e16346 DM |
48 | example: |
49 | ||
50 | lxc.init_cmd: /sbin/my_own_init | |
51 | ||
52 | or | |
53 | ||
54 | lxc.init_cmd = /sbin/my_own_init | |
55 | ||
5eba0743 | 56 | Those settings are directly passed to the LXC low-level tools. |
71e16346 DM |
57 | |
58 | ||
59 | Options | |
60 | ------- | |
61 | ||
62 | include::pct.conf.5-opts.adoc[] | |
63 | ||
64 | ||
65 | ifdef::manvolnum[] | |
66 | include::pve-copyright.adoc[] | |
67 | endif::manvolnum[] |