Thanks Christian for your support.

/Daniel

On Mon, May 30, 2011 at 10:57 AM, Christian Horn <[email protected]> wrote:

> On Mon, May 30, 2011 at 10:47:43AM +0200, Daniel Kertby wrote:
> >
> > We are running Cobbler version 2.0.11 and tries to reuse autoyast XML
> files
> > for SLES installations.
> > If we have a embedded [CDATA[ script containing variable assignments
> like,
> >     variablename=$(ls)
> >     variablename2=$((othervariable + 1))
> > , the web server throws an ERROR 500.
> >
> ---------------------------------------------------------------------------------------------------
> > HTTP request sent, awaiting response... 500 SERVER ERROR
> > 2011-05-30 10:44:05 ERROR 500: SERVER ERROR.
> >
> ---------------------------------------------------------------------------------------------------
> >
> > Is this a known bug? Any workaround without hacking the embedded script?
>
> Sounds like the default behaviour.
> Try to use #raw around these variables that are not intended for cobbler
> to be interpreted but by the shell later.
> Alternatively try escaping like \$(ls).
>
>
> Christian
> _______________________________________________
> 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