FYI, I recently found myself in need of an easy way to dump all the relevant information about a machine to be used with MAAS, such as:
- PCI device information - USB device information - modaliases (to correlate with the above!) - Serial ports - Network interfaces - Block devices (summary and details) - DMI data (including full dump) Basically most of the things that MAAS gathers when it commissions, plus a little extra to make it more understandable to a human... and all in one place. I've written a script[1] to summarize all those details, and added a redirect from goo.gl so it can be run with a simple copy/paste[2] (such as after using the "Allow SSH access and prevent machine from powering off" option and SSHing into a commissioning node). Something like this may be helpful not only for future development, but as something to include when asking for support (or filing a bug) with nodes that aren't commissioning or deploying properly. I thought I'd send this out in case it helps someone else; feel free to fork this and improve it! Regards, Mike [1]: https://gist.github.com/mpontillo/ecc30011d6d5889fda23c8e5e3545105 [2] Short, copy/paste version: curl -fsSL https://goo.gl/ixXc4z | sudo bash (drop the "sudo" and/or the pipe to bash if you don't trust me!) ;-)
-- Maas-devel mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/maas-devel
