I really dont want to pick up a dependency on a library for this. It seems like surely there is some way to get at this information, or possibly we could work together to find a way for the platform to more obviously identify itself.
Other platforms identify themselves in dmi data.
For example, on an openstack system:
$ cat /sys/class/dmi/id/sys_vendor
OpenStack Foundation
$ cat /sys/class/dmi/id/product_name
OpenStack Nova
I really dont want to pick up a dependency on a library for this. It seems like surely there is some way to get at this information, or possibly we could work together to find a way for the platform to more obviously identify itself.
Other platforms identify themselves in dmi data.
For example, on an openstack system:
$ cat /sys/class/ dmi/id/ sys_vendor dmi/id/ product_ name
OpenStack Foundation
$ cat /sys/class/
OpenStack Nova