
Reference 84
Supplementary parameters
define other OpenVZ settings:
Parameter
Description
Default value
VZWDOG
Defines whether the
vzwdog
module is loaded on OpenVZ
startup. This module is responsible for catching messages from
the kernel. It is needed in case you configure the serial Monitor
Node for OpenVZ.
no
VPS Configuration File
Each Virtual Private Server has its own configuration file, which is stored in the
/etc/sysconfig/vz-scripts
directory and has a name like
vpsid
.conf
. This file
has the same format as the global configuration file. The settings specified in this file can be
subdivided into the following categories: miscellaneous, networking, and resource management
parameters.
Miscellaneous parameters:
VERSION
Specifies the OpenVZ version the configuration file applies to.
ONBOOT
Specifies whether the VPS should be started automatically on system
startup. OpenVZ automatically starts all Virtual Private Servers that have
this parameter set to “yes” upon startup.
ALLOWREBOOT
Specifies whether VPS may be restarted with “reboot” command inside. If
omitted or set to “
yes
”, reboot is allowed.
CAPABILITY
Specifies capabilities inside of VPS. Setting of following capabilities is
allowed:
CHOWN
,
AC_OVERRIDE
,
AC_READ_SEARCH
,
FOWNER
,
FSETID
,
KILL
,
SETGID
,
SETUID
,
SETPCAP
,
LINUX_IMMUTABLE
,
NET_BIND_SERVICE
,
NET_BROADCAST
,
NET_ADMIN
,
NET_RAW
,
IPC_LOCK
,
IPC_OWNER
,
SYS_MODULE
,
SYS_RAWIO
,
SYS_CHROOT
,
SYS_PTRACE
,
SYS_PACCT
,
SYS_ADMIN
,
SYS_BOOT
,
SYS_NICE
,
SYS_RESOURCE
,
SYS_TIME
,
SYS_TTY_CONFIG
,
MKNOD
,
LEASE
.
OSTEMPLATE
This is the name of the OS template that has been used for creating a VPS.
You do not have to change this parameter;
vzctl
will set it for you upon
calling the
vzctl create
vpsid
--ostemplate
template
command (or using the defaults from the global configuration file).
VE_ROOT
Overrides the
VE_ROOT
parameter from the global configuration file.
VE_PRIVATE
Overrides the
VE_PRIVATE
parameter from the global configuration file.