Re: [Spacewalk-list] Variables not passing to snippets

2011-02-10 Thread Michael Gliwinski
On Friday 04 Feb 2011 13:19:43 Hagberg, Keith wrote: > What determines when you need raw mode. Basically with templating you have two levels at which $-variables are interpreted. If you want them interpreted when the kickstart is generated, do *not* escape them, if you want them interpreted by

Re: [Spacewalk-list] Variables not passing to snippets

2011-02-09 Thread Hagberg, Keith
Even escaping the $ETH did not work. -Original Message- From: spacewalk-list-boun...@redhat.com [mailto:spacewalk-list-boun...@redhat.com] On Behalf Of Michael Mraka Sent: Wednesday, February 09, 2011 9:38 AM To: spacewalk-list@redhat.com Subject: Re: [Spacewalk-list] Variables not

Re: [Spacewalk-list] Variables not passing to snippets

2011-02-09 Thread Michael Mraka
Hagberg, Keith wrote: % What determines when you need raw mode. Basically *all* $ signs have to be escaped otherwise python-cheetah (the templating machine used by cobbler) gets mad and won't render the snippet. % If I remove #raw and #end raw the snippet does not get put into the % kickstart. Wh

Re: [Spacewalk-list] Variables not passing to snippets

2011-02-04 Thread Hagberg, Keith
else echo could not determine speed fi ethtool $ETH #end raw -Original Message- From: spacewalk-list-boun...@redhat.com [mailto:spacewalk-list-boun...@redhat.com] On Behalf Of Michael Mraka Sent: Friday, February 04, 2011 6:18 AM To: spacewalk-list@redhat.com Subject: Re: [Spacewalk-l

Re: [Spacewalk-list] Variables not passing to snippets

2011-02-04 Thread Michael Mraka
Hagberg, Keith wrote: % Running Spacewalk 1.2 and I have created several snippets for use in % the post section of the kickstart. I had to add the #raw/#endraw to % the snippet to get them to properly show up in the kickstart. Doing % this seems to break the ability to have a variable in the snippe

[Spacewalk-list] Variables not passing to snippets

2011-02-03 Thread Hagberg, Keith
Running Spacewalk 1.2 and I have created several snippets for use in the post section of the kickstart. I had to add the #raw/#endraw to the snippet to get them to properly show up in the kickstart. Doing this seems to break the ability to have a variable in the snippet. I have a variable ETH=e