1ctid.conf(5) Containers ctid.conf(5)
2
3
4
6 ctid.conf - configuration file for an OpenVZ container.
7
9 /etc/vz/conf/CTID.conf
10
12 This is a configuration file for a container. It is stored as
13 /etc/vz/conf/CTID.conf, where CTID is the numeric ID of the given con‐
14 tainer.
15
16 Configuration file consists of lines in the form
17
18 PARAMETER="value"
19
20 All parameter names and values are case-sensitive. Quotes surrounding a
21 value are required if value contains spaces, and are optional other‐
22 wise. Extra spaces are not allowed. All unrecognized lines will be
23 ignored.
24
25 The meaning of most parameters are described in vzctl(8), so here only
26 the appropriate vzctl set option names are given.
27
28
29 Miscellaneous parameters
30 NAME="vename"
31 Corresponds to the --name option.
32
33 DESCRIPTION="string"
34 Corresponds to the --description option.
35
36 ONBOOT="yes|no"
37 Specifies whether this container will be started during system
38 boot. Corresponds to the --onboot option.
39
40 BOOTORDER="number"
41 Specifies the CT boot order priority. Corresponds to the
42 --bootorder option.
43
44 OSTEMPLATE="tmpl_name"
45 Corresponds to the --ostemplate option.
46
47 VE_ROOT="directory"
48 Corresponds to the --root option.
49
50 VE_PRIVATE="directory"
51 Corresponds to the --private option.
52
53 MOUNT_OPTS="option[,option...]"
54 Corresponds to --mount_opts option.
55
56 DISABLED="yes|no"
57 Corresponds to the --disabled option.
58
59 ORIGIN_SAMPLE="name"
60 Name of container sample configuration which the container is
61 based on.
62
63 STOP_TIMEOUT="number"
64 Corresponds to the --stop-timeout option.
65
66
67 Resource management parameters
68 NUMPROC
69 Corresponds to the --numproc option.
70
71 NUMFILE
72 Corresponds to the --numfile option.
73
74 NUMFLOCK
75 Corresponds to the --numflock option.
76
77 NUMPTY Corresponds to the --numpty option.
78
79 NUMSIGINFO
80 Corresponds to the --numsiginfo option.
81
82 NUMTCPSOCK
83 Corresponds to the --numtcpsock option.
84
85 NUMOTHERSOCK
86 Corresponds to the --numothersock option.
87
88 PRIVVMPAGES
89 Corresponds to the --privvmpages option.
90
91 VMMGUARPAGES
92 Corresponds to the --vmguarpages option.
93
94 OOMGUARPAGES
95 Corresponds to the --oomguarpages option.
96
97 LOCKEDPAGES
98 Corresponds to the --lockedpages option.
99
100 SHMPAGES
101 Corresponds to the --shmpages option.
102
103 KMEMSIZE
104 Corresponds to the --kmemsize option.
105
106 TCPSNDBUF
107 Corresponds to the --tcpsndbuf option.
108
109 TCPRCVBUF
110 Corresponds to the --tcprcvbuf option.
111
112 OTHERSOCKBUF
113 Corresponds to the --othersockbuf option.
114
115 DGRAMRCVBUF
116 Corresponds to the --dgramrcvbuf option.
117
118 DCACHESIZE
119 Corresponds to the --dcachesize option.
120
121 NUMIPTENT
122 Corresponds to the --numiptent option.
123
124 PHYSPAGES
125 Corresponds to the --physpages or --ram option.
126
127 SWAPPAGES
128 Corresponds to the --swappages or --swap option.
129
130 VM_OVERCOMMIT
131 Corresponds to the --vm_overcommit option.
132
133 CPUUNITS
134 Corresponds to the --cpuunits option.
135
136 DISK_QUOTA="yes|no"
137 Corresponds to the --diskquota option. If this is set to no,
138 disk quota is not set up for this CT.
139
140 DISKSPACE="softlimit[:hardlimit]"
141 Corresponds to the --diskspace option.
142
143 DISKINODES="softlimit[:hardlimit]"
144 Corresponds to the --diskinodes option.
145
146 QUOTATIME="seconds"
147 Corresponds to the --quotatime option.
148
149 QUOTAUGIDLIMIT="num"
150 Corresponds to the --quotaugidlimit option.
151
152 CAPABILITY="capname:on|off [...]"
153 Corresponds to the --capability option.
154
155
156 Network related parameters
157 IP_ADDRESS="address [address ...]"
158 Specifies the address the container will be assigned. Several
159 addresses are divided by spaces. Corresponds to the --ipadd
160 option.
161
162 HOSTNAME="name"
163 Corresponds to the --hostname option.
164
165 NAMESERVER="ip [ip ...]"
166 Corresponds to the --nameserver option. Several name server
167 addresses are divided by spaces. If set to inherit, values from
168 host system's /etc/resolv.conf are used.
169
170 SEARCHDOMAIN="domain [domain ...]"
171 Corresponds to the --searchdomain option. Several search domains
172 are divided by spaces. If set to inherit, values from host sys‐
173 tem's /etc/resolv.conf are used.
174
175
177 vzctl(8), vzcfgvalidate(8), vz.conf(5), http://wiki.openvz.org/UBC.
178
180 Copyright (C) 2001-2010, Parallels, Inc. Licensed under GNU GPL.
181
182
183
184OpenVZ 1 Oct 2013 ctid.conf(5)