[Documentation] Automatically generate errata report per system registered to Red Hat Satellite Server
Hi folks,
I just created a script which helps me in my daily administration tasks.
It generates errata reports per machine for all the systems registered to Red Hat Satellite Server.
Before maintenance I can simply have a look at the list and see what patches need to be installed on what systems - in one single view.
Of course Red Hat Satellite offers a likewise view - but in our company we have a special documentation system based on national security specifications.
For me this is the most handy way to automate the documentation process.
I wrote a short documentation about this - maybe this is also helpful to some of you.
Just wanted to share that with you - if you're interested you can find the documentation here: http://st-devel.net/blers
Best regards from Germany,
Christian.
Responses
Hi Christian,
It is a great script, I found only one issue in my environment.
I tested the script on a RH Satellite 5.6 server running using LANG=nl_NL.UTF8 and found it the table join to give a join error: "the second file is not sorted"
So it would a nice feature to set the language to C at the start of the session.
The user could also overwrite the language setting when starting the script.
LC_ALL=C LANG=C /opt/tools/errata_report.sh
Kind regards,
Jan Gerrit
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
