Scroll to navigation

ctid.conf(5) Containers ctid.conf(5)

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.
Specifies whether this container will be started during system boot. Corresponds to the --onboot option.
Specifies the CT boot order priority. Corresponds to the --bootorder option.
Corresponds to the --ostemplate option.
Corresponds to the --root option.
Corresponds to the --private option.
Corresponds to --mount_opts option.
Corresponds to the --disabled option.
Name of container sample configuration which the container is based on.
Corresponds to the --stop-timeout option.

Resource management parameters

Corresponds to the --numproc option.
Corresponds to the --numfile option.
Corresponds to the --numflock option.
Corresponds to the --numpty option.
Corresponds to the --numsiginfo option.
Corresponds to the --numtcpsock option.
Corresponds to the --numothersock option.
Corresponds to the --privvmpages option.
Corresponds to the --vmguarpages option.
Corresponds to the --oomguarpages option.
Corresponds to the --lockedpages option.
Corresponds to the --shmpages option.
Corresponds to the --kmemsize option.
Corresponds to the --tcpsndbuf option.
Corresponds to the --tcprcvbuf option.
Corresponds to the --othersockbuf option.
Corresponds to the --dgramrcvbuf option.
Corresponds to the --dcachesize option.
Corresponds to the --numiptent option.
Corresponds to the --physpages or --ram option.
Corresponds to the --swappages or --swap option.
Corresponds to the --vm_overcommit option.
Corresponds to the --cpuunits option.
Corresponds to the --diskquota option. If this is set to no, disk quota is not set up for this CT.
Corresponds to the --diskspace option.
Corresponds to the --diskinodes option.
Corresponds to the --quotatime option.
Corresponds to the --quotaugidlimit option.
Corresponds to the --capability option.

Specifies the address the container will be assigned. Several addresses are divided by spaces. Corresponds to the --ipadd option.
Corresponds to the --hostname option.
Corresponds to the --nameserver option. Several name server addresses are divided by spaces. If set to inherit, values from host system's /etc/resolv.conf are used.
Corresponds to the --searchdomain option. Several search domains are divided by spaces. If set to inherit, values from host system's /etc/resolv.conf are used.

SEE ALSO

vzctl(8), vzcfgvalidate(8), vz.conf(5), http://wiki.openvz.org/UBC.

LICENSE

Copyright (C) 2001-2010, Parallels, Inc. Licensed under GNU GPL.

1 Oct 2013 OpenVZ