[Spacewalk-list] snippets not interpreting in pre/post scripts
Speagle, Andy
andy.speagle at wichita.edu
Wed Jul 28 21:34:51 UTC 2010
Is this a new requirement for snippets? I just ran into this problem where my snippets WERE interpreted just fine and all of a sudden they’re not anymore … unless I add these stanzas in the snippets. Also… not all of the snippets are displaying this behavior… and DON’T require the #raw/#endraw…
Any thoughts as to what might cause that?
Andy Speagle
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<mailto: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<mailto: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/20100728/f2a18161/attachment.htm>
More information about the Spacewalk-list
mailing list