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