When using recent Fedora and RHEL versions, the manual setup that
is otherwise necessary to enable the module can be replaced with
executing a single command.
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Configuration
-------------
-To enable the module, modify ``/etc/nsswitch.conf`` so that the ``hosts`` line
-looks similar to
+If you're running a new enough version of Fedora (>= 37) or RHEL (>= 10), then
+you can use ``authselect`` to enable the module with a single command:
+
+::
+
+ # authselect enable-feature with-libvirt
+
+For other distributions, you will have to manually update the configuration in
+``/etc/nsswitch.conf`` so that the ``hosts`` line looks similar to
::