[Spacewalk-list] Kickstart snippets and pre/post scripts

Andy Speagle andy.speagle at wichita.edu
Mon Nov 23 14:25:16 UTC 2009


On Mon, 2009-11-23 at 08:19 -0600, Mullis, Josh (CCI - Atlanta) wrote:
> I have created several snippets under "Systems -> Kickstart ->
> Kickstart Snippets".
> 
> I am trying to place these in a pre/post script without much success.
> 
> 
> 
> My issue is that when I view the generated kickstart file, I only see
> the "$SNIPPET(spacewalk/1/snippet-name)" and not the content of the
> snippet.
> 
> 
> 
> I have tried placing the snippet variable under "Kickstart Details ->
> Advanced Options -> Custom Options" and under the Scripts tab as well.
> 
> Anyone have any luck with this? 

When you setup the script (pre or post), in order to use snippets, you
must click the "Template" checkbox, which then properly expands the
snippets.

-- 
Andy Speagle

"THE Student" - UCATS
Wichita State University
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20091123/dffa6ed8/attachment.sig>


More information about the Spacewalk-list mailing list