>> I would like to distribute some post scripts via the Cobbler web server 
>> and I am wondering where to place them. Any suggestions?
>>
>>   
> Snippets are a great fit for this:
> 
> Have your RPM drop the snippets in:
> 
> /var/lib/cobbler/snippets/acmecorp/myfoo
> 
> Invoked as
> 
> %post
> SNIPPET::acmecorp/myfoo

I've thought about this, but I find that Cheetah often gets in the way 
when the snippets are parsed. Also, I need to copy some files as well. I 
could turn them into "here" documents, but again, I don't want Cheetah 
to parse them.

Think I will drop them into "localmirror", mirror them to the client 
with lftp and then launch them from %post. (Basically, I am moving my 
legacy Kickstart scripts for RHEL3 over to Cobbler and I don't want to 
make too many changes.)


Thanks,

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

Reply via email to