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
cobbler(a)lists.fedorahosted.org
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.
--Michael