[Spacewalk-list] Kickstart Snippets in Post Scripts

James Hogarth james.hogarth at gmail.com
Mon Aug 9 06:39:08 UTC 2010


As I recall people have said on the list that cobbler 2.0.3 has caused
problems with extra escaping needed. I have kept mine at 1.6.6 for the time
being.

Similarly there is breakage of remotely provisioned KVM guests with koan
2.0.3 and had to roll back to 1.6.6 on my KVM hosts.

These issues are a little tricky given that EPEL doesn't maintain older
versions in the repository.

If you need the older packages send me a ping and I'll mail over the
appropriate ones from my archive.

James

Sent from Android Mobile

On 9 Aug 2010 05:02, "David Rock" <david at graniteweb.com> wrote:
> * Colin Coe <colin.coe at gmail.com> [2010-08-09 11:30]:
>> On Sun, Aug 8, 2010 at 12:26 AM, David Rock <david at graniteweb.com> wrote:
>
> <big snip>
>
>> > If I use cobbler profile getks, should I see the snippets, or should I
>> > see the expanded contents of the snippets?  If I should see the
expanded
>> > code, what would cause me not to?
>> >
>>
>> Sorry, David, I've never used cobbler directly so I can't comment.
>>
>
> Not a problem. I was only using it because it was referenced in the Red
> Hat documentation as a way to troubleshoot. Based on what I found over
> the weekend, the answer is that running "cobbler profile getks" returns
> the generated final result. In my particular case, the original attempt
> would show the $SNIPPET() lines in their unexpanded form because of the
> implicit #raw/#end raw that is wrapped around the %post script. To get
> the kickstart with _expanded_ $SNIPPETS, you need to check the template
> checkbox on the script's edit page so that the cheetah parser can see
> the snippet code.
>
> I have a bit of a tirade about the details in another post ;-)
>
> Thanks.
>
> --
> David Rock
> david at graniteweb.com
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20100809/17954e7f/attachment.htm>


More information about the Spacewalk-list mailing list