It would be nice to make "lsdef" to return non-zero code in case of failure to find an object and to print error message to stderr instead of stdout. This will help with using lsdef in scripts.
Here is what we have now:
Could not find an object named 'rhels6.3-x86_63' of type 'osdistro'.
0
Guang Cheng,
This seems more like a bug than a feature request. Can you work on this? Thx.
Guang Cheng,
Can you do this in 2.8.4? Would be a good thing to clean up. Thx.
Ticket moved from /p/xcat/feature-requests/163/
Can't be converted:
Fixed in 2.8.4 and 2.9.
2.8.4: commit a9e5fa3badeed27dfda7875f11ea6bb2d95803e2
2.9: commit 6f79aead61af237066263325c753bf60f852b3bd