]>
Commit | Line | Data |
---|---|---|
71e16346 DM |
1 | ifdef::manvolnum[] |
2 | PVE({manvolnum}) | |
3 | ================ | |
4 | include::attributes.txt[] | |
5 | ||
5f09af76 DM |
6 | :pve-toplevel: |
7 | ||
71e16346 DM |
8 | NAME |
9 | ---- | |
10 | ||
11 | pct.conf - Proxmox VE Container Configuration | |
12 | ||
13 | ||
49a5e11c | 14 | SYNOPSIS |
71e16346 DM |
15 | -------- |
16 | ||
8c1189b6 | 17 | `/etc/pve/lxc/<CTID>.conf` |
71e16346 DM |
18 | |
19 | ||
20 | DESCRIPTION | |
21 | ----------- | |
22 | endif::manvolnum[] | |
23 | ||
24 | ifndef::manvolnum[] | |
25 | Container Configuration | |
26 | ======================= | |
27 | include::attributes.txt[] | |
28 | endif::manvolnum[] | |
29 | ||
5f09af76 DM |
30 | ifdef::wiki[] |
31 | :pve-toplevel: | |
32 | endif::wiki[] | |
33 | ||
8c1189b6 FG |
34 | The `/etc/pve/lxc/<CTID>.conf` files stores container configuration, |
35 | where `CTID` is the numeric ID of the given container. | |
0abc65b0 FG |
36 | |
37 | NOTE: IDs <= 100 are reserved for internal purposes. | |
71e16346 DM |
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 | ||
8c1189b6 | 48 | Blank lines in the file are ignored, and lines starting with a `#` |
71e16346 DM |
49 | character are treated as comments and are also ignored. |
50 | ||
8c1189b6 | 51 | One can use the `pct` command to generate and modify those files. |
71e16346 | 52 | |
5eba0743 | 53 | It is also possible to add low-level LXC-style configuration directly, for |
71e16346 DM |
54 | example: |
55 | ||
56 | lxc.init_cmd: /sbin/my_own_init | |
57 | ||
58 | or | |
59 | ||
60 | lxc.init_cmd = /sbin/my_own_init | |
61 | ||
5eba0743 | 62 | Those settings are directly passed to the LXC low-level tools. |
71e16346 DM |
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[] |