ve.conf − configuration file for a Container.
/etc/vz/conf/XXX.conf
This is a configuration file for a CT. It is stored as /etc/vz/conf/XXX.conf, where XXX is the ID of the given CT.
Configuration file consists of lines arrayed in a column.
PARAMETER="value"
All parameter names and values are case-sensitive. Quotes surrounding a value are required if the value contains spaces, and are optional otherwise. Extra spaces are not allowed. All unrecognized lines will be ignored.
Please note that the file is created/modified by the vzctl(8) command with the set --save arguments, therefore changes to this file made otherwise than by vzctl(8) can be lost during the next vzctl run.
The meaning of each parameter is described in vzctl(8), so here only the appropriate vzctl set option is given.
Miscellaneous
parameters
ONBOOT="yes|no"
Specifies whether this CT will be started during the system boot. The default value is no, meaning the CT will not be started if the ONBOOT parameter is omitted. Corresponds to the --onboot option.
BOOTORDER="number"
Specifies the CT boot order priority. Corresponds to the --bootorder option.
OSTEMPLATE="tmpl_name[/version]"
Corresponds to the --pkgset option.
TEMPLATES="app_name[/version] ..."
This is a list of the templates installed inside a CT by the vzpkgadd command.
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 the CT sample the CT is based on.
CONFIG_CUSTOMIZED="yes|no"
Set to yes if the CT configuration file has been modified.
Resource
management parameters
NUMPROC
Corresponds to the --numproc options.
NUMFILE
Corresponds to the --numfile options.
NUMFLOCK
Corresponds to the --numflock options.
NUMPTY |
Corresponds to the --numpty options. |
NUMSIGINFO
Corresponds to the --numsiginfo options.
PRIVVMPAGES
Corresponds to the --privvmpages options.
VMMGUARPAGES
Corresponds to the --vmguarpages options.
LOCKEDPAGES
Corresponds to the --lockedpages options.
SHMPAGES
Corresponds to the --shmpages options.
NUMIPTENT
Corresponds to the --numiptent options.
CPUUNITS
Corresponds to the --cpuunits option.
DISKSPACE="softlimit[:hardlimit]"
Corresponds to the --diskspace parameter.
QUOTAUGIDLIMIT="num"
Corresponds to the --quotaugidlimit parameter.
NOATIME="yes|no"
Corresponds to the --noatime option.
RATE="interface:class:rate [interface:class:rate ...]"
Corresponds to the --rate option.
RATEBOUND="yse|no"
Corresponds to the --ratebound option.
CAPABILITY="capname:on|off [capname:on|off ...]"
Corresponds to the --capability option
Network
related parameters
IP_ADDRESS="address [address]"
Specifies the address the CT 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 set off by spaces.
SEARCHDOMAIN="domain [domain]"
Corresponds to the --searchdomain option. Several search domains are separated by spaces.
vzctl(8), vz(5).
Copyright (c) 1999-2015 Parallels IP Holdings GmbH. All rights reserved.