[et-mgmt-tools] create my own cobbler stanzas?

Matt Hyclak hyclak at math.ohiou.edu
Tue Jul 24 15:27:44 UTC 2007


On Tue, Jul 24, 2007 at 09:18:07AM -0600, drew einhorn enlightened us:
> I've  been trying without success to use kickstart %includes to simplify and
> modularize
> my kickstart files.  Haven't bee able to figure out where to put the files
> to be included
> so they can be found when the kickstart is running.
>

They need to be visible to the system either by having them available on the
local filesystem, or by mounting an NFS share or similar. I accomplish this
by using wget in the %pre stanza. My cobbler template looks something like:

%packages
%include /tmp/packages_${hostname}

%pre
wget -P /tmp http://server/ks/packages_${hostname}

Matt

-- 
Matt Hyclak
Department of Mathematics 
Department of Social Work
Ohio University
(740) 593-1263




More information about the et-mgmt-tools mailing list