How to create a BOM / Inventory of a linux box for each boot up.

Posted by mylinuxguy@reddit | linuxadmin | View on Reddit | 10 comments

A bit of background.... I have access to a lot of different systems. Some are older than others and some are updated more than others. I move drives from one server to another. I don't have a 'standard' setup. I'd like to be able to look at a report or set of files that is uniform across all systems so that I can look at it and know what server it was on when it booted up....

I know what I want.... I just don't know how to express it exactly. I did a google / ai query:

I want to get a list of all installed packages, set of hardware at each boot for linux

and got:

1. Listing Installed Packages:

2. Hardware Information at Boot:

3. Logging Hardware Information at Boot:

which is sort of what I envisioned..... I've actually played around with this before... but never really got it going.

So... my first question is what would this info be called and second... is there something that already does this or do I need to write a script to do this for me.

Thanks