Difference between revisions of "Man/ctid.conf.5"
Botinki Kira (talk | contribs) (Automated import of articles *** existing text overwritten ***) |
(→Miscellaneous parameters: Default for bootorder) |
||
Line 54: | Line 54: | ||
<p style="margin-left:22%;">Specifies the CT boot order | <p style="margin-left:22%;">Specifies the CT boot order | ||
− | priority. Corresponds to the <b>--bootorder</b> option.</p> | + | priority. Corresponds to the <b>--bootorder</b> option. Default is empty, containers with empty bootorder get booted last.</p> |
<p style="margin-left:11%;"><b>OSTEMPLATE</b>="<i>tmpl_name</i>"</p> | <p style="margin-left:11%;"><b>OSTEMPLATE</b>="<i>tmpl_name</i>"</p> |
Revision as of 21:50, 5 November 2012
Contents
NAME
ctid.conf − configuration file for an OpenVZ container.
SYNOPSIS
/etc/vz/conf/CTID.conf
DESCRIPTION
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.
Miscellaneous parameters
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 boot. Default is no, meaning the container will not be started if ONBOOT parameter is omitted. Corresponds to the --onboot option.
BOOTORDER="number"
Specifies the CT boot order priority. Corresponds to the --bootorder option. Default is empty, containers with empty bootorder get booted last.
OSTEMPLATE="tmpl_name"
Corresponds to the --ostemplate option.
VE_ROOT="directory"
Corresponds to the --root option.
VE_PRIVATE="directory"
Corresponds to the --private option.
MOUNT_OPTS="option[,option...]"
Corresponds to --mount_opts option.
DISABLED="yes|no"
Corresponds to the --disabled option.
ORIGIN_SAMPLE="name"
Name of container sample configuration which the container is based on.
Resource management parameters
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.
PHYSPAGES
Corresponds to the --physpages or --ram option.
SWAPPAGES
Corresponds to the --swappages or --swap option.
CPUUNITS
Corresponds to the --cpuunits option.
DISK_QUOTA="yes|no"
Corresponds to the --diskquota option. If this is set to no, disk quota is not set up for this CT.
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.
SEE ALSO
vzctl(8), vzcfgvalidate(8), vz.conf(5), UBC.
LICENSE
Copyright (C) 2001-2010, Parallels, Inc. Licensed under GNU GPL.