Installing SUSE Linux Enterprise Server 12 lshw

To be able to enroll SUSE Linux Enterprise Server 12 (SLES 12) devices in the Automox console, the lshw (list hardware) package must be added before proceeding.

Overview

lshw (list hardware) is a unix application that retrieves details about a device’s hardware. From the Linux man page:

lshw is a small tool to extract detailed information on the hardware configuration of the machine. It can report exact memory configuration, firmware version, mainboard configuration, CPU version and speed, cache configuration, bus speed, etc. on DMI-capable x86 or IA-64 systems and on some PowerPC machines (PowerMac G4 is known to work).

The default package repo that comes with SLES 12 does not contain lshw. To be able to enroll SLES 12 devices in the Automox console, this package must be added before proceeding.

Installation

To install lshw, another package repo must be added to the device first. The required repo is the openSuSE Hardware package repo. To install it, run the following commands on the device as root:

zypper addrepo

https://download.opensuse.org/repositories/hardware/SLE_12_SP4/hardware.repo

zypper refresh

zypper install -y lshw

After the lshw package is installed, the device can be enrolled in Automox. lshw and any other packages added from the openSuSE repo are kept up to date by patching in Automox.