5
0
mirror of git://git.proxmox.com/git/pve-docs.git synced 2025-01-07 17:17:48 +03:00
pve-docs/pct.conf.adoc

71 lines
1.2 KiB
Plaintext
Raw Normal View History

2016-03-23 12:51:03 +03:00
ifdef::manvolnum[]
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
SYNOPSIS
2016-03-23 12:51:03 +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[]
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
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
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.
One can use the `pct` command to generate and modify those files.
2016-03-23 12:51:03 +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
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[]