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