[PATCH] Add support for the realm command

Chris Lumens clumens at redhat.com
Thu May 2 15:54:42 UTC 2013


> > Can you give me an example of how this might be given in a kickstart
> > file?  Can multiple realm commands be specified in the same file?
> 
> Sure, and yes, the multiple lines would look like:
> 
>    realm join --one-time-password=ThePassword domain.example.com
>    realm permit --all

Okay, I thought this might be the case.  Does each line then correspond
to a specific command line?  Basically, I am trying to understand two
things here:

(1) Why does pykickstart/anaconda need to know the details of argument
processing?  For the authconfig command, for instance, we act just as a
pass through and don't need to worry with what changes.

(2) For other commands that can be specified multiple times (the
partitioning ones are the biggest example), there's not just a Command
object but a Data object as well.  You build up a list of the data
objects and then execute each one in order.  Why is this command done
differently?

- Chris


More information about the anaconda-patches mailing list