Hi,

i try to add/delete/modify cobbler objects from a remote
box via ssh and discovered that returncodes are not even
local on the box i am executing the commands working:

$ cobbler system add --name=tester3 --hostname=tester3 \
>   --mac=00 --profile=rhel5u5_serv-x86_64 --ip=10.0.22.40
cobbler.cexceptions.CX:'invalid format for MAC address (00)'
# echo $?
0

The behaviour is expected, thats no valid mac.  Yet i
expected to get some returncode != 0.  Same behaviour for
trying to a system-object with an invalid ip.

Not sure what i could have done wrong.  Do i really have
to start querying/listing cobbler-objects to find out if
my last operation succeeded?


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

Reply via email to