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

Josh.Mullis at cox.com Josh.Mullis at cox.com
Mon Nov 23 14:47:13 UTC 2009


Thanks Andy!

Ahh, the little checkboxes we overlook...


I also had to add #raw/#endraw inside all my snippets.


Take care.
-Josh


----- Original Message -----
From: Andy Speagle <andy.speagle at wichita.edu>
To: Mullis, Josh (CCI-Atlanta); spacewalk-list at redhat.com <spacewalk-list at redhat.com>
Sent: Mon Nov 23 09:25:16 2009
Subject: Re: [Spacewalk-list] Kickstart snippets and pre/post scripts

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




More information about the Spacewalk-list mailing list