From c86f53d5b252e6e3bf2f59e757f379939b880e9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20=C5=81omnicki?= Date: Fri, 14 Dec 2012 03:52:17 +0100 Subject: [PATCH] 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. --- docs/auth.html.in | 2 +- docs/uri.html.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/auth.html.in b/docs/auth.html.in index d792eb1c85..929afd0884 100644 --- a/docs/auth.html.in +++ b/docs/auth.html.in @@ -25,7 +25,7 @@ for the authentication file using the following sequence: variable.
  • The file path specified by the "authfile=/some/file" URI query parameter
  • -
  • The file $XDG_CONFIG_DIR/libvirt/auth.conf
  • +
  • The file $XDG_CONFIG_HOME/libvirt/auth.conf
  • The file /etc/libvirt/auth.conf
  • diff --git a/docs/uri.html.in b/docs/uri.html.in index 5812ca9e76..97a1cdb45c 100644 --- a/docs/uri.html.in +++ b/docs/uri.html.in @@ -30,7 +30,7 @@ virConnectPtr conn = virConnectOpenReadOnly ("test:///default");

    To simplify life for administrators, it is possible to setup URI aliases in a libvirt client configuration file. The configuration file is /etc/libvirt/libvirt.conf -for the root user, or $XDG_CONFIG_DIR/libvirt/libvirt.conf for any unprivileged user. +for the root user, or $XDG_CONFIG_HOME/libvirt/libvirt.conf for any unprivileged user. In this file, the following syntax can be used to setup aliases

    -- GitLab