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

Re: [et-mgmt-tools] [PATCH] Add --list-os-options to virt-install and virt-convert



Daniel P. Berrange wrote:
> On Mon, Mar 02, 2009 at 06:00:54PM -0500, Cole Robinson wrote:
>> Add an option '--list-os-options' to virt-install and virt-convert to
>> dump the valid os-type/variant values from our internal OS dictionary
>> (then exit). Prior to this, the only way a user knew what to pass was
>> via the quite outdated man pages, or via virt-manager (which reads the
>> OS dictionary from virtinst).
>>
>> On one side I'm hesitant about this: we are going to expand this OS
>> metadata in the future with a potentially more granular approach (ex.
>> RHEL5.1/2/3 instead of just RHEL5), and giving the illusion that this is
>> stable (and machine parseable) may make it harder to deviate later.
>>
>> That said, this solution is clearly much more useful and sustainable
>> than the current situation, so until we work out something better I
>> think this patch is the way to go.
> 
> How about making the  build process extract this list and stuff 
> them into the POD man page, so it is always up2date ?
> 

That works too.

Do you think it should be in all relevant man pages (virt-convert,
virt-image, virt-install) or just have the other two link back to
virt-install?

- Cole


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