On 02.05.2013 17:54, Chris Lumens wrote:
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.
Because for 'realm join' we need to do part of the work before actually doing the join post-install. In particular, before the install starts we need discover what kind of domain we're dealing with so that realmd can tell us which packages need to be added to the install set.
This is important because we cannot rely on PackageKit or even the package install sources during post-install.
Secondly, realmd is run in a special mode so that it operates on the installed mounted image, rather than on / itself. This means additional arguments are spliced in.
Lastly and least importantly, not all arguments make sense when run in a batch environment.
Cheers,
Stef