On Wed, 15 Jun 2011 23:44:46 -0700, petermity <[email protected]> wrote:
> With Cobbler V2.0.11, I was able to (indirectly) do what I wanted
> here.
> 
> I couldn't find a way to use the Cheetah exception-handling
> directives directly to cause a nice clear error message.
> 
> Instead, I used #echo to put out an error message of my own.  I
> have a wrapper script that does validation (basically runs
> getks), and it looks for and shows this error message.
> 
> It would still be nice to do this directly in Cobbler - halt and
> put out a user-defined message - without having to wrap the
> process independently.

Yeah, I think it is something we will do in the future for validateks,
but at this point your solution is probably the best.

-- 
Scott Henson
Red Hat CIS Operator
WVU Alum BSAE/BSME

Attachment: pgpTS1bv8WSxE.pgp
Description: PGP signature

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

Reply via email to