vps.conf5
Configuration file for a virtual environment.
Overview
This is a configuration file for a VE. It is stored as /etc/vz/conf/veid.conf, where veid is the ID of the given VE.
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.
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
- NAME="vename"
-
Corresponds to the
--nameoption.
- ONBOOT="
yes|no" -
Specifies whether this VE will be started during system bootup. Default is
no, meaning VE will not be started if ONBOOT parameter is omitted. Corresponds to the--onbootoption.
- OSTEMPLATE="tmpl_name"
-
Corresponds to the
--ostemplateoption.
VE_ROOT="directory"-
Corresponds to the
--rootoption.
VE_PRIVATE="directory"-
Corresponds to the
--privateoption.
- DISABLED="
yes|no" -
Corresponds to the
--disabledoption.
ORIGIN_SAMPLE="name"-
Name of VE sample config which the VE is based on.
CONFIG_CUSTOMIZED="yes|no"-
Set to
yesif the VE config was modified.
Resource management parameters
- NUMPROC
-
Corresponds to the
--numprocoptions.
- NUMFILE
-
Corresponds to the
--numfileoptions.
- NUMFLOCK
-
Corresponds to the
--numflockoptions.
- NUMPTY
-
Corresponds to the
--numptyoptions.
- NUMSIGINFO
-
Corresponds to the
--numsiginfooptions.
- NUMTCPSOCK
-
Corresponds to the
--numtcpsockoptions.
- NUMOTHERSOCK
-
Corresponds to the
--numothersockoptions.
- PRIVVMPAGES
-
Corresponds to the
--privvmpagesoptions.
- VMMGUARPAGES
-
Corresponds to the
--vmguarpagesoptions.
- OOMGUARPAGES
-
Corresponds to the
--oomguarpagesoptions.
- LOCKEDPAGES
-
Corresponds to the
--lockedpagesoptions.
- SHMPAGES
-
Corresponds to the
--shmpagesoptions.
- KMEMSIZE
-
Corresponds to the
--kmemsizeoptions.
- TCPSNDBUF
-
Corresponds to the
--tcpsndbufoptions.
- TCPRCVBUF
-
Corresponds to the
--tcprcvbufoptions.
- OTHERSOCKBUF
-
Corresponds to the
--othersockbufoptions.
- DGRAMRCVBUF
-
Corresponds to the
--dgramrcvbufoptions.
- DCACHESIZE
-
Corresponds to the
--dcachesizeoptions.
- NUMIPTENT
-
Corresponds to the
--numiptentoptions.
- CPUUNITS
-
Corresponds to the
--cpuunitsoption.
- DISKSPACE="softlimit[:hardlimit]"
-
Corresponds to the
--diskspaceparameter.
- DISKINODES="softlimit[:hardlimit]"
-
Corresponds to the
--diskinodesparameter.
- QUOTATIME="seconds"
-
Corresponds to the
--quotatimeparameter.
- QUOTAUGIDLIMIT="num"
-
Corresponds to the
--quotaugidlimitparameter.
- NOATIME="
yes|no" -
Corresponds to the
--noatimeoption.
- CAPABILITY="capname:
on|off[...]" -
Corresponds to the
--capabilityoption
Network related parameters
IP_ADDRESS="address [address]"-
Specifies the address the VE 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.
- SEARCHDOMAIN="domain [domain]"
-
Corresponds to the
--searchdomainoption. Several search domains are divided by spaces.
History
- Debian 5.0 (Lenny): the text shown here
- Debian 4.0 (Etch)