Bug 610259 - [RFE] add the ability to provide %post...%end to kickstartd from job xml
Summary: [RFE] add the ability to provide %post...%end to kickstartd from job xml
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Community
Component: scheduler
Version: 0.5
Hardware: All
OS: Linux
medium
medium vote
Target Milestone: ---
Assignee: Bill Peck
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-07-01 20:54 UTC by Martin Jenner
Modified: 2011-06-13 18:45 UTC (History)
8 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2010-08-05 17:56:01 UTC


Attachments (Terms of Use)

Description Martin Jenner 2010-07-01 20:54:39 UTC
[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.

Comment 1 Martin Jenner 2010-07-02 16:32:30 UTC
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 ?

Comment 2 Bill Peck 2010-07-02 16:38:37 UTC
I agree with you Martin.  having <kickstart_append> node(s) makes much more sense.

Comment 3 Bill Peck 2010-07-30 15:01:39 UTC
<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>


Note You need to log in before you can comment on or make changes to this bug.