virsh: Add option '--no-pkttyagent'

In scripts repeated execution of virsh can result in a lot of
journal noise when pkttyagent gets registered with polkitd each
time.

Closes: https://gitlab.com/libvirt/libvirt/-/issues/757
Signed-off-by: Jens Schmidt <farblos@vodafonemail.de>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
Jens Schmidt
2025-05-19 09:08:14 +02:00
committed by Peter Krempa
parent 05f34d585a
commit 0eea768f4b
3 changed files with 21 additions and 1 deletions
+8
View File
@@ -140,6 +140,14 @@ Output elapsed time information for each command.
- ``--no-pkttyagent``
Do not register ``pkttyagent`` as authentication agent with the
polkit system daemon, even if ``virsh`` has been started from a
terminal.
- ``-v``, ``--version[=short]``
Ignore all other arguments, and prints the version of the libvirt library