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

Re: [PATCH] Add --root-device to upgrade command



On Fri, 2008-12-12 at 11:34 +0200, Alexander Todorov wrote:
> I only don't understand what's the purpose of:
> 
> removedKeywords = KickstartCommand.removedKeywords
> removedAttrs = KickstartCommand.removedAttrs

Some commands have attributes that are no longer supported.  A good
example is the 'vnc' command (others are "xconfig --resolution", "part
--bytes-per-inode" etc..)

Current kickstart grammar supports:

 * vnc [--host=<hostname>] [--port=<port>] [--password=<password>] 

While older grammar supported (FC3 era):

 * vnc [--enabled] [--connect=<hostname>[:<port>]]
[--password=<password>] 

The removedAttrs allows us to define subclasses that deprecate or remove
previous attributes.

Hope that helps!

Thanks,
James

-- 
==========================================
 James Laska         -- jlaska redhat com
 Quality Engineering -- Red Hat, Inc.
==========================================

Attachment: signature.asc
Description: This is a digitally signed message part


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