Best way to install guest when it is not listed in output of osinfo-query os

Michal Prívozník mprivozn at redhat.com
Mon Dec 20 10:22:32 UTC 2021


On 12/20/21 06:52, john doe wrote:
> Hello all,
> 
> I would like to install Debian Bullseye using virt-install, as part of
> the command I usually specify the OS used with the option '--os-variant'.
> This works great untill Buster ('debian10'), but now the guest is
> Bullseye ('debian11') and is not listed in the output of 'osinfo-query
> os' (1).
> 
> If I don't use the '--os-variant' flag I get the following warning:
> 
> "WARNING  No operating system detected, VM performance may suffer.
> Specify an OS with --os-variant for optimal results."
> 
> 
> Should I ignore the warning or what is the best way forward to install a
> Debian Bullseye guest?
> 
> Both the host and the guest are  Debian 11.
> 
> 1)  https://lists.debian.org/debian-user/2021/12/msg00742.html

Debian 11 was added into the osinfo-db roughly 4 months ago:

https://gitlab.com/libosinfo/osinfo-db/-/commit/d729bd193947cc377c5ffc054222eef12a82e414

I'm not sure who maintains the package in debian, but I'd ask them to
refresh the package. Meanwhile, as a workaround I think it's safe to use
debian10 as --os-variant.

Michal




More information about the libvirt-users mailing list