ctid.conf5
Configuration file for an openvz container.
Usage
/etc/vz/conf/CTID.conf
Overview
This is a configuration file for a container. It is stored as /etc/vz/conf/CTID.conf, where CTID is the numeric ID of the given container.
Configuration file consists of lines in the form
PARAMETER="value"
All parameter names and values are case-sensitive. Quotes surrounding a value are required if value contains spaces, and are optional otherwise. Extra spaces are not allowed. All unrecognized lines will be ignored.
The meaning of most parameters are described in vzctl(8), so here only the appropriate vzctl set option names are given.
Miscellaneous parameters
- NAME="vename"
-
Corresponds to the
--nameoption.
- DESCRIPTION="string"
-
Corresponds to the
--descriptionoption.
- ONBOOT="
yes|no" -
Specifies whether this container will be started during system boot. Corresponds to the
--onbootoption.
- BOOTORDER="number"
-
Specifies the CT boot order priority. Corresponds to the
--bootorderoption.
- OSTEMPLATE="tmpl_name"
-
Corresponds to the
--ostemplateoption.
VE_ROOT="directory"-
Corresponds to the
--rootoption.
VE_PRIVATE="directory"-
Corresponds to the
--privateoption.
MOUNT_OPTS="option[,option...]"-
Corresponds to
--mount_optsoption.
- DISABLED="
yes|no" -
Corresponds to the
--disabledoption.
ORIGIN_SAMPLE="name"-
Name of container sample configuration which the container is based on.
STOP_TIMEOUT="number"-
Corresponds to the
--stop-timeoutoption.
Resource management parameters
- NUMPROC
-
Corresponds to the
--numprocoption.
- NUMFILE
-
Corresponds to the
--numfileoption.
- NUMFLOCK
-
Corresponds to the
--numflockoption.
- NUMPTY
-
Corresponds to the
--numptyoption.
- NUMSIGINFO
-
Corresponds to the
--numsiginfooption.
- NUMTCPSOCK
-
Corresponds to the
--numtcpsockoption.
- NUMOTHERSOCK
-
Corresponds to the
--numothersockoption.
- PRIVVMPAGES
-
Corresponds to the
--privvmpagesoption.
- VMMGUARPAGES
-
Corresponds to the
--vmguarpagesoption.
- OOMGUARPAGES
-
Corresponds to the
--oomguarpagesoption.
- LOCKEDPAGES
-
Corresponds to the
--lockedpagesoption.
- SHMPAGES
-
Corresponds to the
--shmpagesoption.
- KMEMSIZE
-
Corresponds to the
--kmemsizeoption.
- TCPSNDBUF
-
Corresponds to the
--tcpsndbufoption.
- TCPRCVBUF
-
Corresponds to the
--tcprcvbufoption.
- OTHERSOCKBUF
-
Corresponds to the
--othersockbufoption.
- DGRAMRCVBUF
-
Corresponds to the
--dgramrcvbufoption.
- DCACHESIZE
-
Corresponds to the
--dcachesizeoption.
- NUMIPTENT
-
Corresponds to the
--numiptentoption.
- PHYSPAGES
-
Corresponds to the
--physpagesor--ramoption.
- SWAPPAGES
-
Corresponds to the
--swappagesor--swapoption.
VM_OVERCOMMIT-
Corresponds to the
--vm_overcommitoption.
- CPUUNITS
-
Corresponds to the
--cpuunitsoption.
DISK_QUOTA="yes|no"-
Corresponds to the
--diskquotaoption. If this is set tono, disk quota is not set up for this CT.
- DISKSPACE="softlimit[:hardlimit]"
-
Corresponds to the
--diskspaceoption.
- DISKINODES="softlimit[:hardlimit]"
-
Corresponds to the
--diskinodesoption.
- QUOTATIME="seconds"
-
Corresponds to the
--quotatimeoption.
- QUOTAUGIDLIMIT="num"
-
Corresponds to the
--quotaugidlimitoption.
- CAPABILITY="capname:
on|off[...]" -
Corresponds to the
--capabilityoption.
Network related parameters
IP_ADDRESS="address [address ...]"-
Specifies the address the container will be assigned. Several addresses are divided by spaces. Corresponds to the
--ipaddoption.
- HOSTNAME="name"
-
Corresponds to the
--hostnameoption.
- NAMESERVER="ip [ip ...]"
-
Corresponds to the
--nameserveroption. Several name server addresses are divided by spaces. If set toinherit, values from host system's/etc/resolv.confare used.
- SEARCHDOMAIN="domain [domain ...]"
-
Corresponds to the
--searchdomainoption. Several search domains are divided by spaces. If set toinherit, values from host system's/etc/resolv.confare used.
Releases
5 releases since Debian 6.0 (Squeeze); the text changed 2 times.