[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [virt-tools-list] Should virt-install --os-variant=(unknown) guess?



On 09/06/2011 11:22 AM, Richard W.M. Jones wrote:
> 
> On RHEL 6.1 if I do:
> 
>   virt-install --os-variant=fedora16 [...]
> 
> it says:
> 
>   ERROR    OS variant 'fedora16' does not exist in our dictionary for OS type 'linux'
> 
> It turns out that RHEL 6.1 virt-install only knows up to 'fedora14'.
> 
> I'm wondering if it's a good idea for fedoraNN where NN > the highest
> known version in the dictionary to assume the capabilities of the
> highest known version automatically.  Perhaps it could issue a
> warning instead:
> 
>   WARNING  OS variant 'fedora16' does not exist in our dictionary, assuming 'fedora14'
> 
> Good idea, or is this going to fail horribly in some scenario that I
> haven't thought about?
> 

I've had similar thoughts, just never implemented it. I think as long as
the prediction algorithm tries to be fairly specific it should be safe
to do.

- Cole


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]