mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-25 10:03:49 +03:00
daemon: Don't hardcode pki paths in help output
There are constants for these paths in remote_driver.h so we can use these rather than duplicating them in the help output. Signed-off-by: Christophe Fergeau <cfergeau@redhat.com> Signed-off-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
parent
521b78d0af
commit
d0d013d9fb
@ -1063,9 +1063,9 @@ daemonUsage(const char *argv0, bool privileged)
|
|||||||
" %s/run/libvirt/libvirt-sock-ro\n"
|
" %s/run/libvirt/libvirt-sock-ro\n"
|
||||||
"\n"
|
"\n"
|
||||||
" TLS:\n"
|
" TLS:\n"
|
||||||
" CA certificate: %s/pki/CA/cacert.pem\n"
|
" CA certificate: %s\n"
|
||||||
" Server certificate: %s/pki/libvirt/servercert.pem\n"
|
" Server certificate: %s\n"
|
||||||
" Server private key: %s/pki/libvirt/private/serverkey.pem\n"
|
" Server private key: %s\n"
|
||||||
"\n"
|
"\n"
|
||||||
" PID file (unless overridden by -p):\n"
|
" PID file (unless overridden by -p):\n"
|
||||||
" %s/run/libvirtd.pid\n"
|
" %s/run/libvirtd.pid\n"
|
||||||
@ -1073,9 +1073,9 @@ daemonUsage(const char *argv0, bool privileged)
|
|||||||
SYSCONFDIR,
|
SYSCONFDIR,
|
||||||
LOCALSTATEDIR,
|
LOCALSTATEDIR,
|
||||||
LOCALSTATEDIR,
|
LOCALSTATEDIR,
|
||||||
SYSCONFDIR,
|
LIBVIRT_CACERT,
|
||||||
SYSCONFDIR,
|
LIBVIRT_SERVERCERT,
|
||||||
SYSCONFDIR,
|
LIBVIRT_SERVERKEY,
|
||||||
LOCALSTATEDIR);
|
LOCALSTATEDIR);
|
||||||
} else {
|
} else {
|
||||||
fprintf(stderr, "%s",
|
fprintf(stderr, "%s",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user