On Wed, 15 Jun 2011 23:44:46 -0700, petermity <6t12-n6js(a)dea.spamcon.org> 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