Tom Georgoulias wrote:
> Michael DeHaan wrote:
>
>   
>>> OK, I upgraded to the 1.2.2-1 today.  I was a little concerned about 
>>> doing this right now since we're making decent use of our cobbler server 
>>> right now, but I figured that even if I fixed the problem I first ran 
>>> into the bug you mentioned would probably pop up again somewhere else.
>>>       
>
>   
>> The latest version is 1.2.4, which is already in Fedora and EPEL testing 
>> -- it's the latest fix release to the 1.2.X stable release series.
>>
>> Picking 1.2.2 will leave you with a few bugs we explicitly created 
>> 1.2.3/1.2.4 to fix, so now that you've updated, you'll want to be current.
>>     
>
> Ah crap, I grabbed and rebuilt the wrong SRPM!  LOL.  I'm on the newest 
> now, sorry about that.  :)
>
> The bug I reported earlier is fixed.  Yay for that.
>
> Ran into two new problems now.
>
> 1.  koan isn't properly setting ks=file:ks.cfg when using 
> --replace-self, it instead points to a cobbler server URL.
>   

This was posted to the ML previously.
Fixed in git, I can do a koan release this week, presumably Friday makes 
sense.

> 2.  raw/end raw is working the way it used to.
>
> Before the upgrade, while I was on 0.8.2, this used to work:
>
> <snip>
>
> ## MUST specify raw/end raw block here so that
> ## bash script elements don't get confused with cheetah vars:
> #raw
> %pre
> SNIPPET::PRE
> %end
>
> %post
> SNIPPET::POST
> #end raw
>
> <snip>
>
> All of the contents of the PRE and POST snippets would show up in the 
> ks.cfg, ready for use.
>
> After the upgrade to 1.2.2 and then to 1.4.2, I just see this:
>
> %pre
> $SNIPPET('PRE')
> %end
>
> %post
> $SNIPPET('POST')
>
>   

SNIPPET is implemented in pure Cheetah now, so you can't include 
#raw/#endraw blocks around a SNIPPET, instead the raw/endraw blocks 
should be inside the snippets.

> I even tried shuffling around the raw /end raw, like this, but it still 
> doesnt' work:
>
> ## MUST specify raw/end raw block here so that
> ## bash script elements don't get confused with cheetah vars:
> %pre
> #raw
> SNIPPET::PRE
> #end raw
> %end
>
> %post
> #raw
> SNIPPET::POST
> #end raw
>
>
> Any suggestions?
>   

See above and let me know if that will work for you...

>
> _______________________________________________
> cobbler mailing list
> [email protected]
> https://fedorahosted.org/mailman/listinfo/cobbler
>   

_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to