2016-03-23 10:51:03 +01:00
ifdef::manvolnum[]
2016-10-12 06:54:29 +02:00
pct.conf(5)
===========
2016-10-08 17:22:48 +02:00
:pve-toplevel:
2016-03-23 10:51:03 +01:00
NAME
----
pct.conf - Proxmox VE Container Configuration
2016-10-06 15:12:49 +02:00
SYNOPSIS
2016-03-23 10:51:03 +01:00
--------
2016-09-27 10:58:50 +02:00
`/etc/pve/lxc/<CTID>.conf`
2016-03-23 10:51:03 +01:00
DESCRIPTION
-----------
endif::manvolnum[]
ifndef::manvolnum[]
Container Configuration
=======================
endif::manvolnum[]
2016-10-08 17:22:48 +02:00
ifdef::wiki[]
:pve-toplevel:
2016-10-10 08:55:17 +02:00
:title: Manual: pct.conf
2016-10-08 17:22:48 +02:00
endif::wiki[]
2016-09-27 10:58:50 +02:00
The `/etc/pve/lxc/<CTID>.conf` files stores container configuration,
where `CTID` is the numeric ID of the given container.
2016-04-15 13:16:04 +02:00
2022-01-28 12:43:33 +01:00
NOTE: IDs < 100 are reserved for internal purposes.
2016-03-23 10:51:03 +01:00
File Format
-----------
The file uses a simple colon separated key/value format. Each line has
the following format:
OPTION: value
2016-09-27 10:58:50 +02:00
Blank lines in the file are ignored, and lines starting with a `#`
2016-03-23 10:51:03 +01:00
character are treated as comments and are also ignored.
2016-09-27 10:58:50 +02:00
One can use the `pct` command to generate and modify those files.
2016-03-23 10:51:03 +01:00
2016-09-27 10:58:51 +02:00
It is also possible to add low-level LXC-style configuration directly, for
2016-03-23 10:51:03 +01:00
example:
lxc.init_cmd: /sbin/my_own_init
or
lxc.init_cmd = /sbin/my_own_init
2016-09-27 10:58:51 +02:00
Those settings are directly passed to the LXC low-level tools.
2016-03-23 10:51:03 +01:00
Options
-------
include::pct.conf.5-opts.adoc[]
ifdef::manvolnum[]
include::pve-copyright.adoc[]
endif::manvolnum[]