mirror of
git://git.proxmox.com/git/pve-docs.git
synced 2025-01-06 13:17:48 +03:00
9470f7aab6
100 is not reserved, and '<=' actually showed up as '(' in the generated man page. Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
71 lines
1.2 KiB
Plaintext
71 lines
1.2 KiB
Plaintext
ifdef::manvolnum[]
|
|
pct.conf(5)
|
|
===========
|
|
:pve-toplevel:
|
|
|
|
NAME
|
|
----
|
|
|
|
pct.conf - Proxmox VE Container Configuration
|
|
|
|
|
|
SYNOPSIS
|
|
--------
|
|
|
|
`/etc/pve/lxc/<CTID>.conf`
|
|
|
|
|
|
DESCRIPTION
|
|
-----------
|
|
endif::manvolnum[]
|
|
|
|
ifndef::manvolnum[]
|
|
Container Configuration
|
|
=======================
|
|
endif::manvolnum[]
|
|
ifdef::wiki[]
|
|
:pve-toplevel:
|
|
:title: Manual: pct.conf
|
|
endif::wiki[]
|
|
|
|
The `/etc/pve/lxc/<CTID>.conf` files stores container configuration,
|
|
where `CTID` is the numeric ID of the given container.
|
|
|
|
NOTE: IDs < 100 are reserved for internal purposes.
|
|
|
|
|
|
File Format
|
|
-----------
|
|
|
|
The file uses a simple colon separated key/value format. Each line has
|
|
the following format:
|
|
|
|
OPTION: value
|
|
|
|
Blank lines in the file are ignored, and lines starting with a `#`
|
|
character are treated as comments and are also ignored.
|
|
|
|
One can use the `pct` command to generate and modify those files.
|
|
|
|
It is also possible to add low-level LXC-style configuration directly, for
|
|
example:
|
|
|
|
lxc.init_cmd: /sbin/my_own_init
|
|
|
|
or
|
|
|
|
lxc.init_cmd = /sbin/my_own_init
|
|
|
|
Those settings are directly passed to the LXC low-level tools.
|
|
|
|
|
|
Options
|
|
-------
|
|
|
|
include::pct.conf.5-opts.adoc[]
|
|
|
|
|
|
ifdef::manvolnum[]
|
|
include::pve-copyright.adoc[]
|
|
endif::manvolnum[]
|