5
0
mirror of git://git.proxmox.com/git/pve-docs.git synced 2025-03-10 12:58:19 +03:00
pve-docs/pct.conf.adoc

68 lines
1.2 KiB
Plaintext
Raw Normal View History

2016-03-23 10:51:03 +01:00
ifdef::manvolnum[]
PVE({manvolnum})
================
include::attributes.txt[]
NAME
----
pct.conf - Proxmox VE Container Configuration
SYNOPSYS
--------
`/etc/pve/lxc/<CTID>.conf`
2016-03-23 10:51:03 +01:00
DESCRIPTION
-----------
endif::manvolnum[]
ifndef::manvolnum[]
Container Configuration
=======================
include::attributes.txt[]
endif::manvolnum[]
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
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
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.
One can use the `pct` command to generate and modify those files.
2016-03-23 10:51:03 +01:00
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[]