mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-18 10:35:20 +00:00
docs: Fix location of libvirt.conf and auth.conf
For a unprivileged user libvirt.conf and auth.conf are looked up in $XDG_CONFIG_HOME but the docs incorrectly state that it's $XDG_CONFIG_DIR.
This commit is contained in:
parent
9cf8734e7c
commit
c86f53d5b2
@ -25,7 +25,7 @@ for the authentication file using the following sequence:
|
|||||||
variable.</li>
|
variable.</li>
|
||||||
<li>The file path specified by the "authfile=/some/file" URI
|
<li>The file path specified by the "authfile=/some/file" URI
|
||||||
query parameter</li>
|
query parameter</li>
|
||||||
<li>The file $XDG_CONFIG_DIR/libvirt/auth.conf</li>
|
<li>The file $XDG_CONFIG_HOME/libvirt/auth.conf</li>
|
||||||
<li>The file /etc/libvirt/auth.conf</li>
|
<li>The file /etc/libvirt/auth.conf</li>
|
||||||
</ol>
|
</ol>
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@ virConnectPtr conn = virConnectOpenReadOnly (<b>"test:///default"</b>);
|
|||||||
<p>
|
<p>
|
||||||
To simplify life for administrators, it is possible to setup URI aliases in a
|
To simplify life for administrators, it is possible to setup URI aliases in a
|
||||||
libvirt client configuration file. The configuration file is <code>/etc/libvirt/libvirt.conf</code>
|
libvirt client configuration file. The configuration file is <code>/etc/libvirt/libvirt.conf</code>
|
||||||
for the root user, or <code>$XDG_CONFIG_DIR/libvirt/libvirt.conf</code> for any unprivileged user.
|
for the root user, or <code>$XDG_CONFIG_HOME/libvirt/libvirt.conf</code> for any unprivileged user.
|
||||||
In this file, the following syntax can be used to setup aliases
|
In this file, the following syntax can be used to setup aliases
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user