mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 17:34:18 +03:00
docs: Document lxc.conf location
This is similar to my earlier commit which documented qemu.conf locations. Luckily, the LXC driver has only the system connection and not session or embed one. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
parent
ee4b6f4161
commit
7022db4abd
@ -281,6 +281,16 @@ causes libvirt to activate the user namespace feature.
|
||||
</p>
|
||||
|
||||
|
||||
<h2><a id="configFiles">Location of configuration files</a></h2>
|
||||
|
||||
<p>
|
||||
The LXC driver comes with sane default values. However, during its
|
||||
initialization it reads a configuration file which offers system
|
||||
administrator to override some of that default. The file is located
|
||||
under <code>/etc/libvirt/lxc.conf</code>
|
||||
</p>
|
||||
|
||||
|
||||
<h2><a id="activation">Systemd Socket Activation Integration</a></h2>
|
||||
|
||||
<p>
|
||||
|
@ -136,15 +136,17 @@ When run as *root*
|
||||
The default configuration file used by ``libvirtd``, unless overridden on the
|
||||
command line using the ``-f`` | ``--config`` option.
|
||||
|
||||
If QEMU driver is installed, then the following file is also read:
|
||||
Depending on what driver is installed, then the following files are also read:
|
||||
|
||||
* ``@SYSCONFDIR@/libvirt/qemu.conf``
|
||||
* ``@SYSCONFDIR@/libvirt/qemu.conf`` for the QEMU driver
|
||||
* ``@SYSCONFDIR@/libvirt/lxc.conf`` for the LXC driver
|
||||
|
||||
This file contains various knobs and default values for virtual machines
|
||||
created within QEMU driver, and offers a way to override the built in defaults,
|
||||
for instance (but not limited to): paths to various supplementary binaries, TLS
|
||||
certificates location, graphical consoles configuration and others. Location of
|
||||
this file can't be overridden by any command line switch.
|
||||
These files contain various knobs and default values for virtual machines
|
||||
created within their respective drivers, and offer a way to override the built
|
||||
in defaults, for instance (but not limited to): paths to various supplementary
|
||||
binaries, TLS certificates location, graphical consoles configuration and
|
||||
others. Location of neither of these files can be overridden by any command
|
||||
line switch.
|
||||
|
||||
* ``@RUNSTATEDIR@/libvirt/libvirt-sock``
|
||||
* ``@RUNSTATEDIR@/libvirt/libvirt-sock-ro``
|
||||
|
@ -111,6 +111,15 @@ a different user results in error.
|
||||
The default configuration file used by ``virtlxcd``, unless overridden on the
|
||||
command line using the ``-f`` | ``--config`` option.
|
||||
|
||||
In addition to the default configuration file, ``virtlxcd`` reads
|
||||
configuration for the LXC driver from:
|
||||
|
||||
* ``@SYSCONFDIR@/libvirt/lxc.conf``
|
||||
|
||||
This file contains various knobs and default values for virtual machines
|
||||
created within LXC driver, and offers a way to override the built in defaults,
|
||||
Location of this file can't be overridden by any command line switch.
|
||||
|
||||
* ``@RUNSTATEDIR@/libvirt/virtlxcd-sock``
|
||||
* ``@RUNSTATEDIR@/libvirt/virtlxcd-sock-ro``
|
||||
* ``@RUNSTATEDIR@/libvirt/virtlxcd-admin-sock``
|
||||
|
Loading…
Reference in New Issue
Block a user