[Spacewalk-list] snippets not interpreting in pre/post scripts

Mullis, Josh (CCI - Atlanta) josh.mullis at cox.com
Tue Jun 1 16:07:40 UTC 2010


Hi Bill,

Try putting "#raw" at the beginning and "#endraw" at the end of the
actual "ni_config" snippet.



-Josh


On Tue, 2010-06-01 at 11:22 -0400, Bill Gunter wrote:

> My cobbler snippets aren't being interpreted when they are in %pre or
> %post scripts. The "Template" option is checked but the kickstart
> files just show this:
> 
> %post --interpreter /bin/bash
> (
> $SNIPPET('spacewalk/1/ni_config')
> ) >> /root/ks-post.log 2>&1
> 
> Other snippets in other sections (e.g. Software) work properly.
> 
> Running v1.0 on RHEL 5.4.
> 
> Thanks,
> 
> --
> Bill Gunter
> tulanian at gmail.com
> http://irishyear.blogspot.com
> 
> "I think we delight to praise what we enjoy because the praise not
> merely expresses but completes the enjoyment; it is its appointed
> consummation." Reflections on the Psalms, C.S. Lewis
> 
> Spread Firefox!
> http://www.spreadfirefox.com/?q=affiliates&id=22494&t=1
> 
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20100601/56f4ae9b/attachment.htm>


More information about the Spacewalk-list mailing list