On Mon, Jan 05, 2009 at 05:27:44PM -0500, Michael DeHaan wrote:
> Axel Thimm wrote:
> > On Mon, Jan 05, 2009 at 09:01:26AM -0500, Michael DeHaan wrote:
> >   
> >>> All I'm pleading for is for cobbler allowing to #include the parent
> >>> kickstart file and the least that is needed if the location of it. See
> >>> my original post and the external workaround I'm using to locate it
> >>> and to pass as a variable back to cobbler.
> >>>   
> >>>       
> >> If it includes the parent kickstart file and it's syntactically correct 
> >> in the context of what is included, that means the parent profile isn't 
> >> installable, and thus isn't really a kickstart.
> >>
> >> That's what was bothering me.
> >>
> >> It seems like something is being done wrong if that use case is required.
> >>     
> >
> > My parent profiles are installable, why shouldn't they be?
> >
> > The subprofiles are just *adding* more %post, %packages and the
> > like. This doesn't mean that the base kickstart wasn't installable.
> >
> > Same applies to most kickstarts of spins, kickstart files of more
> > abstract "profiles" are included even multiple times in a row.
> >
> > # rpm -ql spin-kickstarts | xargs grep %include|wc -l
> > 27
> >   
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > cobbler mailing list
> > [email protected]
> > https://fedorahosted.org/mailman/listinfo/cobbler
> >   
> 
> My fault then.
> 
> As for %include, I'm not surpised other things use it.   Cobbler uses it.
> 
> Anaconda include requires action in %pre to generate the file to 
> include.  This can either be from a wget or a here doc, etc.
> 
> You can't include %include http:// URLs directly.

Yes, that's why the practice of %including *non-generated* kickstart
files (e.g. not the %pre snippet stuff, but reall full includes of
working kickstart files) needs to become #include, and for this we
need to know where the file is and what it's name is to be able to
#include it.

It's all in the top post of mine. Maybe not in the best of English, so
it probably mislead/confused you.
-- 
Axel.Thimm at ATrpms.net

Attachment: pgp62yK00bRoD.pgp
Description: PGP signature

_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to