]>
Commit | Line | Data |
---|---|---|
71e16346 | 1 | ifdef::manvolnum[] |
b2f242ab DM |
2 | pct.conf(5) |
3 | =========== | |
5f09af76 DM |
4 | :pve-toplevel: |
5 | ||
71e16346 DM |
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 | ======================= | |
71e16346 | 25 | endif::manvolnum[] |
5f09af76 DM |
26 | ifdef::wiki[] |
27 | :pve-toplevel: | |
cb84ed18 | 28 | :title: Manual: pct.conf |
5f09af76 DM |
29 | endif::wiki[] |
30 | ||
8c1189b6 FG |
31 | The `/etc/pve/lxc/<CTID>.conf` files stores container configuration, |
32 | where `CTID` is the numeric ID of the given container. | |
0abc65b0 | 33 | |
9470f7aa | 34 | NOTE: IDs < 100 are reserved for internal purposes. |
71e16346 DM |
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 | ||
8c1189b6 | 45 | Blank lines in the file are ignored, and lines starting with a `#` |
71e16346 DM |
46 | character are treated as comments and are also ignored. |
47 | ||
8c1189b6 | 48 | One can use the `pct` command to generate and modify those files. |
71e16346 | 49 | |
5eba0743 | 50 | It is also possible to add low-level LXC-style configuration directly, for |
71e16346 DM |
51 | example: |
52 | ||
53 | lxc.init_cmd: /sbin/my_own_init | |
54 | ||
55 | or | |
56 | ||
57 | lxc.init_cmd = /sbin/my_own_init | |
58 | ||
5eba0743 | 59 | Those settings are directly passed to the LXC low-level tools. |
71e16346 DM |
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[] |