]>
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: | |
cb84ed18 | 32 | :title: Manual: pct.conf |
5f09af76 DM |
33 | endif::wiki[] |
34 | ||
8c1189b6 FG |
35 | The `/etc/pve/lxc/<CTID>.conf` files stores container configuration, |
36 | where `CTID` is the numeric ID of the given container. | |
0abc65b0 FG |
37 | |
38 | NOTE: IDs <= 100 are reserved for internal purposes. | |
71e16346 DM |
39 | |
40 | ||
41 | File Format | |
42 | ----------- | |
43 | ||
44 | The file uses a simple colon separated key/value format. Each line has | |
45 | the following format: | |
46 | ||
47 | OPTION: value | |
48 | ||
8c1189b6 | 49 | Blank lines in the file are ignored, and lines starting with a `#` |
71e16346 DM |
50 | character are treated as comments and are also ignored. |
51 | ||
8c1189b6 | 52 | One can use the `pct` command to generate and modify those files. |
71e16346 | 53 | |
5eba0743 | 54 | It is also possible to add low-level LXC-style configuration directly, for |
71e16346 DM |
55 | example: |
56 | ||
57 | lxc.init_cmd: /sbin/my_own_init | |
58 | ||
59 | or | |
60 | ||
61 | lxc.init_cmd = /sbin/my_own_init | |
62 | ||
5eba0743 | 63 | Those settings are directly passed to the LXC low-level tools. |
71e16346 DM |
64 | |
65 | ||
66 | Options | |
67 | ------- | |
68 | ||
69 | include::pct.conf.5-opts.adoc[] | |
70 | ||
71 | ||
72 | ifdef::manvolnum[] | |
73 | include::pve-copyright.adoc[] | |
74 | endif::manvolnum[] |