Provided by: vzctl_188.8.131.52-1_i386
vz.conf - global OpenVZ configuration file
This is the global configuration file for OpenVZ. It consists of lines
in the form
All parameter names and values are case-sensitive. Quotes surrounding
value are required if value contains spaces, and are optional
otherwise. Extra spaces are not allowed. All unrecognized lines will be
This parameter can be set to yes or no, and used by the vz init
script. In case it is not set to yes, nothing will be done to
boot up OpenVZ on this node.
Set the directory to put lock files to.
Value of this parameter sets cpuunits for CT0 (host system).
Enables or disables logging. This parameter can be set to yes or
no, default is yes.
Set location of log file, default is /var/log/vzctl.log.
Set the logging level for the log file (does not affect console
output). The greater the number is, the more information will
be logged to the LOGFILE. Default is 0, which means to log
normal messages and errors. If set to -1, only errors will be
Set the logging level for console/terminal output (does not
affect log file). Default is 0, which means to log normal
messages and errors. Increasing the number makes vzctl(8) more
If the value of this parameter is set to yes, no attempt to load
kernel modules is made by the vz initscript. This is helpful on
systems which have OpenVZ-specific features compiled into the
kernel (i. e. not as modules).
IPTABLES_MODULES="module module ..."
List of iptables kernel modules to be loaded by vz initscript
before loading OpenVZ modules (which is required for iptables to
work inside containers). If not set, value of IPTABLES is used.
If the value of this parameter is set to yes, vz initscript
called with start argument will start the containers with
uncleanly shutdown quota state without performing quota
reinitialization (which is usually a time-consuming process).
After all the containers are started, the initscript when
restarts those containers with unclean quota in a normal way (to
Value of this parameter is a directory in which all container
template data are stored.
Network interface parameters
This parameter specifies the network device name which IP
address will be used as the source IP. This is helpful in case
more than one network interface is configured on HN and there is
a need to specify the source IP address. Default is the first
device in the network device list.
Controls on which interfaces to add/remove ARP records for a
container IP, also which interfaces to use to query/announce
ARP. If this is set to detect, the right network interface (the
one which is in the same subnet as a CT IP) will be chosen
automatically. Any other value restores old (as of vzctl 3.0.19
or older) behavior, when all the possible interfaces were used.
In case the value of this parameter is set to yes, vzctl will
fail to start a container if there is another host with the same
IP in the subnet. The value of no makes vzctl to only print the
Defaults for containers
Below parameters are defaults for containers, and can be overwritten by
parameters in ctid.conf(5) per-container configuration file.
In case the value of this parameter is set to no, all disk quota
operations are disabled.
Value of this parameter is the directory which serves as
container root mount point. Value must contain literal string
$VEID, which will be substituted with the actual numeric CT ID.
Value of this parameter is the directory in which all the files
and directories specific to that container are stored. Value
must contain literal string $VEID, which will be substituted
with the actual numeric CT ID.
Default configuration file for create action, corresponds to
IPTABLES="module module ..."
List of iptables modules to be enabled for containers,
corresponds to --iptables option.
Most of the other parameters that appear in per-container configuration
files ctid.conf(5) can be also set here. Still, it is recommended to
keep TEMPLATE, VE_PRIVATE and VE_ROOT in this configuration file, and
all the other container related parameters in per-container
Copyright (C) 2000-2011, Parallels, Inc. Licensed under GNU GPL.