]> git.proxmox.com Git - mirror_lxc.git/blame - doc/lxc.system.conf.sgml.in
doc: Try to clear some confusion about lxc.conf
[mirror_lxc.git] / doc / lxc.system.conf.sgml.in
CommitLineData
55fc19a1
SG
1<!--
2
3lxc: linux Container library
4
5(C) Copyright Canonical Ltd. 2014
6
7Authors:
8Stéphane Graber <stgraber@ubuntu.com>
9
10This library is free software; you can redistribute it and/or
11modify it under the terms of the GNU Lesser General Public
12License as published by the Free Software Foundation; either
13version 2.1 of the License, or (at your option) any later version.
14
15This library is distributed in the hope that it will be useful,
16but WITHOUT ANY WARRANTY; without even the implied warranty of
17MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18Lesser General Public License for more details.
19
20You should have received a copy of the GNU Lesser General Public
21License along with this library; if not, write to the Free Software
22Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23
24-->
25
26<!DOCTYPE refentry PUBLIC @docdtd@ [
27
28<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
29]>
30
31<refentry>
32
33 <docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
34
35 <refmeta>
36 <refentrytitle>lxc.system.conf</refentrytitle>
37 <manvolnum>5</manvolnum>
38 </refmeta>
39
40 <refnamediv>
41 <refname>lxc.system.conf</refname>
42
43 <refpurpose>
44 LXC system configuration file
45 </refpurpose>
46 </refnamediv>
47
48 <refsect1>
49 <title>Description</title>
50
51 <para>
52 The system configuration is located at
53 <filename>@LXC_GLOBAL_CONF@</filename> or
54 <filename>~/.config/lxc/lxc.conf</filename> for unprivileged
55 containers.
56 </para>
57
58 <para>
59 This configuration file is used to set values such as default
60 lookup paths and storage backend settings for LXC.
61 </para>
62
63 <refsect2>
64 <title>Configuration paths</title>
65
66 <variablelist>
67 <varlistentry>
68 <term>
69 <option>lxc.lxcpath</option>
70 </term>
71 <listitem>
72 <para>
73 The location in which all containers are stored.
74 </para>
75 </listitem>
76 </varlistentry>
77 <varlistentry>
78 <term>
79 <option>lxc.default_config</option>
80 </term>
81 <listitem>
82 <para>
83 The path to the default container configuration.
84 </para>
85 </listitem>
86 </varlistentry>
87 </variablelist>
88 </refsect2>
89
90 <refsect2>
91 <title>Control Groups</title>
92
93 <variablelist>
94 <varlistentry>
95 <term>
96 <option>lxc.cgroup.user</option>
97 </term>
98 <listitem>
99 <para>
100 Comma separated list of cgroup controllers to setup.
101 </para>
102 </listitem>
103 </varlistentry>
104 <varlistentry>
105 <term>
106 <option>lxc.cgroup.pattern</option>
107 </term>
108 <listitem>
109 <para>
110 Format string used to generate the cgroup path (e.g. lxc/%n).
111 </para>
112 </listitem>
113 </varlistentry>
114 </variablelist>
115 </refsect2>
116
117 <refsect2>
118 <title>LVM</title>
119
120 <variablelist>
121 <varlistentry>
122 <term>
123 <option>lxc.bdev.lvm.vg</option>
124 </term>
125 <listitem>
126 <para>
127 Default LVM volume group name.
128 </para>
129 </listitem>
130 </varlistentry>
131 <varlistentry>
132 <term>
133 <option>lxc.bdev.lvm.thin_pool</option>
134 </term>
135 <listitem>
136 <para>
137 Default LVM thin pool name.
138 </para>
139 </listitem>
140 </varlistentry>
141 </variablelist>
142 </refsect2>
143
144 <refsect2>
145 <title>ZFS</title>
146
147 <variablelist>
148 <varlistentry>
149 <term>
150 <option>lxc.bdev.zfs.root</option>
151 </term>
152 <listitem>
153 <para>
154 Default ZFS root name.
155 </para>
156 </listitem>
157 </varlistentry>
158 </variablelist>
159 </refsect2>
160 </refsect1>
161
162 <refsect1>
163 <simpara>
164 <citerefentry>
165 <refentrytitle><command>lxc</command></refentrytitle>
166 <manvolnum>1</manvolnum>
167 </citerefentry>,
168 <citerefentry>
169 <refentrytitle><command>lxc.container.conf</command></refentrytitle>
170 <manvolnum>5</manvolnum>
171 </citerefentry>,
172 <citerefentry>
173 <refentrytitle><command>lxc.system.conf</command></refentrytitle>
174 <manvolnum>5</manvolnum>
175 </citerefentry>,
176 <citerefentry>
177 <refentrytitle><command>lxc-usernet</command></refentrytitle>
178 <manvolnum>5</manvolnum>
179 </citerefentry>
180 </simpara>
181 </refsect1>
182
183 &seealso;
184
185 <refsect1>
186 <title>Author</title>
187 <para>Stéphane Graber <email>stgraber@ubuntu.com</email></para>
188 </refsect1>
189</refentry>
190
191<!-- Keep this comment at the end of the file
192Local variables:
193mode: sgml
194sgml-omittag:t
195sgml-shorttag:t
196sgml-minimize-attributes:nil
197sgml-always-quote-attributes:t
198sgml-indent-step:2
199sgml-indent-data:t
200sgml-parent-document:nil
201sgml-default-dtd-file:nil
202sgml-exposed-tags:nil
203sgml-local-catalogs:nil
204sgml-local-ecat-files:nil
205End:
206-->