Re: Kickstart ordering
Thomas Sanders <[email protected]> Thu, 18 Aug 2016 13:28:32 -0700
| Newsgroups | gmane.linux.redhat.kickstart.general |
|---|---|
| Message-ID | <CAD3gjcH+-gnovTPTFdKVX5D7yyEPohR1D2a39VLjEfz8jo0=1w@mail.gmail.com> |
--===============4253613026658401298== Content-Type: multipart/alternative; boundary=001a114a6d76f8e21a053a5e6c39 --001a114a6d76f8e21a053a5e6c39 Content-Type: text/plain; charset=UTF-8 +1 (even if it is cosmetic) :) -Thomas On Thu, Aug 18, 2016 at 11:03 AM, Chris Lumens <[email protected]> wrote: > > I generate a kickstart via from python code and generation if fine. > > But order of section in my case is: > > > > - partitioning, users, repositories etc. > > - %pre section > > - %post section > > - %packages section > > > > But what about if I would like to change the order to: > > - partitioning, users, repositories etc. > > - %pre section > > - %packages section > > - %post section > > > > Post and packages are exchanged. > > This would require code changes - check out BaseHandler.__str__ in > pykickstart/base.py. > > - Chris > > _______________________________________________ > Kickstart-list mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/kickstart-list > --001a114a6d76f8e21a053a5e6c39 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">+1 (even if it is cosmetic) :)<div>-Thomas</div></div><div= class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Thu, Aug 18, 2016 = at 11:03 AM, Chris Lumens <span dir=3D"ltr"><<a href=3D"mailto:clumens@r= edhat.com" target=3D"_blank">[email protected]</a>></span> wrote:<br><b= lockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px = #ccc solid;padding-left:1ex"><span class=3D"">> I generate a kickstart v= ia from python code and generation if fine.<br> > But order of section in my case is:<br> ><br> > - partitioning, users, repositories etc.<br> > - %pre section<br> > - %post section<br> > - %packages section<br> ><br> > But what about if I would like to change the order to:<br> > - partitioning, users, repositories etc.<br> > - %pre section<br> > - %packages section<br> > - %post section<br> ><br> > Post and packages are exchanged.<br> <br> </span>This would require code changes - check out BaseHandler.__str__ in<b= r> pykickstart/base.py.<br> <span class=3D"HOEnZb"><font color=3D"#888888"><br> - Chris<br> </font></span><div class=3D"HOEnZb"><div class=3D"h5"><br> ______________________________<wbr>_________________<br> Kickstart-list mailing list<br> <a href=3D"mailto:[email protected]">[email protected]</a><= br> <a href=3D"https://www.redhat.com/mailman/listinfo/kickstart-list" rel=3D"n= oreferrer" target=3D"_blank">https://www.redhat.com/<wbr>mailman/listinfo/k= ickstart-<wbr>list</a><br> </div></div></blockquote></div><br></div> --001a114a6d76f8e21a053a5e6c39-- --===============4253613026658401298== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Kickstart-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/kickstart-list --===============4253613026658401298==--