[Libguestfs] [PATCH] virt-buider: doc: Use osinfo-query to get OS variants

Kashyap Chamarthy kchamart at redhat.com
Tue Jan 13 18:31:09 UTC 2015


Upstream dropped[1] support for '--os-variant list' in favor of using
`osinfo-query` tool provided by the libosinfo project.

To get a list of all accepted operating systems, invoke:

  osinfo-query os

[1] https://git.fedorahosted.org/cgit/virt-manager.git/commit/?id=bcb60f0
---
 builder/virt-builder.pod | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/builder/virt-builder.pod b/builder/virt-builder.pod
index 0177cc3a4edad8c1ce3d395759a15e043945b121..004eafb4691dee9b4cfb184c8bef834aff84dee5 100644
--- a/builder/virt-builder.pod
+++ b/builder/virt-builder.pod
@@ -876,7 +876,9 @@ I<--os-variant> is highly recommended, because it will present optimum
 devices to enable the guest to run most efficiently.  To get a list
 of all variants, do:
 
- virt-install --os-variant list
+ osinfo-query os
+
+The above tool is provided by libosinfo package.
 
 =item 3.
 
-- 
1.9.3




More information about the Libguestfs mailing list