vps.conf(5) Containers vps.conf(5)

vps.conf - configuration file for an OpenVZ container.

/etc/vz/conf/CTID.conf

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.

NAME="vename"
Corresponds to the --name option.
DESCRIPTION="string"
Corresponds to the --description option.
ONBOOT="yes|no"
Specifies whether this container will be started during system bootup. Default is no, meaning the container will not be started if ONBOOT parameter is omitted. Corresponds to the --onboot option.
OSTEMPLATE="tmpl_name"
Corresponds to the --ostemplate option.
VE_ROOT="directory"
Corresponds to the --root option.
VE_PRIVATE="directory"
Corresponds to the --private option.
DISABLED="yes|no"
Corresponds to the --disabled option.
ORIGIN_SAMPLE="name"
Name of container sample config which the container is based on.
CONFIG_CUSTOMIZED="yes|no"
Set to yes if the container config was modified.

NUMPROC
Corresponds to the --numproc option.
NUMFILE
Corresponds to the --numfile option.
NUMFLOCK
Corresponds to the --numflock option.
NUMPTY
Corresponds to the --numpty option.
NUMSIGINFO
Corresponds to the --numsiginfo option.
NUMTCPSOCK
Corresponds to the --numtcpsock option.
NUMOTHERSOCK
Corresponds to the --numothersock option.
PRIVVMPAGES
Corresponds to the --privvmpages option.
VMMGUARPAGES
Corresponds to the --vmguarpages option.
OOMGUARPAGES
Corresponds to the --oomguarpages option.
LOCKEDPAGES
Corresponds to the --lockedpages option.
SHMPAGES
Corresponds to the --shmpages option.
KMEMSIZE
Corresponds to the --kmemsize option.
TCPSNDBUF
Corresponds to the --tcpsndbuf option.
TCPRCVBUF
Corresponds to the --tcprcvbuf option.
OTHERSOCKBUF
Corresponds to the --othersockbuf option.
DGRAMRCVBUF
Corresponds to the --dgramrcvbuf option.
DCACHESIZE
Corresponds to the --dcachesize option.
NUMIPTENT
Corresponds to the --numiptent option.
CPUUNITS
Corresponds to the --cpuunits option.
DISKSPACE="softlimit[:hardlimit]"
Corresponds to the --diskspace option.
DISKINODES="softlimit[:hardlimit]"
Corresponds to the --diskinodes option.
QUOTATIME="seconds"
Corresponds to the --quotatime option.
QUOTAUGIDLIMIT="num"
Corresponds to the --quotaugidlimit option.
NOATIME="yes|no"
Corresponds to the --noatime option.
CAPABILITY="capname:on|off [...]"
Corresponds to the --capability option.
IP_ADDRESS="address [address ...]"
Specifies the address the container will be assigned. Several addresses are divided by spaces. Corresponds to the --ipadd option.
HOSTNAME="name"
Corresponds to the --hostname option.
NAMESERVER="ip [ip ...]"
Corresponds to the --nameserver option. Several name server addresses are divided by spaces.
SEARCHDOMAIN="domain [domain ...]"
Corresponds to the --searchdomain option. Several search domains are divided by spaces.

vzctl(8), vz.conf(5).

Copyright (C) 2001-2008, Parallels, Inc. Licensed under GNU GPL.
9 Nov 2009 OpenVZ