Martin Kletzander
2021-Dec-20 21:59 UTC
Best way to install guest when it is not listed in output of osinfo-query os
On Mon, Dec 20, 2021 at 03:26:09AM -0800, Andrea Bolognani wrote:>On Mon, Dec 20, 2021 at 06:52:46AM +0100, 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 > >You can just use '--os-variant debian10', it will work fine. > >Alternatively, you can install a newer version of the osinfo database >by using osinfo-db-import. Doing so is probably overkill for your use >case. > > >Pino, do you think it would make sense to rebase osinfo-db in the >next Debian 11 update? Or at least cherry-pick the debian11 entry so >that things work as expected when creating a Debian 11 VM on a Debian >11 host? https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=980744 was >AFAICT intended to achieve just that. >Any reason for debian not having an -unknown version like lot of the other distros?>-- >Andrea Bolognani / Red Hat / Virtualization >-------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20211220/f86d00e5/attachment.sig>
Andrea Bolognani
2021-Dec-21 09:41 UTC
Best way to install guest when it is not listed in output of osinfo-query os
On Mon, Dec 20, 2021 at 10:59:15PM +0100, Martin Kletzander wrote:> Any reason for debian not having an -unknown version like lot of the > other distros?I don't think there's a specific reason for that, it's probably just a matter of nobody thinking of it until now :) In addition to that, considering that there already entries for Debian testing and Fedora Rawhide, adding one for Debian unstable might make sense too. -- Andrea Bolognani / Red Hat / Virtualization