On 13.04.2012 20:10, Wojtak, Greg (Superfly) wrote:
I'm attempting to use snippets in my kickstarts for the first time and I'm 
running into some problems.   More specifically I am having trouble using 
ksmeta variables in my snippets in my %post scripts.

We've got a few profiles that will share the same %post scripts and I wanted to 
use snippets to be able to update this script in one place.  So I create the 
system record with cobbler with something like:

cobbler system add … --ksmeta="env=test" …

In my snippet, I try to do something like:

#raw
…
echo $env
…
#endraw

Cobbler variables are AFAIK not available inside #raw tags.

HTH

Luc

_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to