Node hardware information script

Mark Shuttleworth mark at ubuntu.com
Thu Mar 2 06:53:12 UTC 2017


This is super-useful Mike, thank you.

I wonder if we shouldn't make this a standard part of the MAAS CLI?

Mark

On 02/03/17 05:49, Mike Pontillo wrote:
> 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 <http://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!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/maas-devel/attachments/20170302/f4b40afd/attachment.html>


More information about the Maas-devel mailing list