[RFE] to add the ability to provide kickstart %post...%end sections snippets to the kickstart that would be used to install a system. The kickstart post sections would be added to the job xml from a user perspective. This should work for <recipe> and <guestrecipe>, my use case comes from a <guestrecipe> where I would like to add call backs to the host system installing the virtual machine. If some pointer can be proved in this bz where to look in the fredorahosted beaker code base I may be able to provide a resource to do the coding and provide a patch for review for this request.
On reflection it might make sense implementing a more generic use case instead of specifically for %post...%end make is just kickstart append entries the user can place anything legal that could be appended to a kickstart. The update should allow for people to add multiple snippets in there job.xml <kickstart_append> %post . . %end </kickstart_append> <kickstart_append> %pre . . %end </kickstart_append> <kickstart_append> %packages . . %end </kickstart_append> Thoughts ?
I agree with you Martin. having <kickstart_append> node(s) makes much more sense.
<ks_appends> <ks_append> <![CDATA[ %pre # This happens in pre section of kickstart %end ]]> </ks_append> <ks_append> <![CDATA[ %post # This happens in post section of kickstart %end ]]> </ks_append> <ks_append> <![CDATA[ %packages # This adds an additional packages section to kickstart %end ]]> </ks_append> </ks_appends>