Testing using
Tested using focal sosreport: sosreport_3.9-1ubuntu0.16.04.2
# installed sosreport from proposed
$ pull-lp-source sosreport xenial-proposed
# cd into sosreport and run command
$ sudo ./sosreport -o hardware --config sos.conf
# untar tar created from sosreport
$ tar -xvf <name of tar file>
# find `lshw` command output
$ cd /tmp/<name of tar file>/sos_commands/hardware
# verify output of lshw command
$ less lshw
# verified command ran and its output was saved to lshw file
[VERIFICATION XENIAL]
Testing using 3.9-1ubuntu0. 16.04.2
Tested using focal sosreport: sosreport_
# installed sosreport from proposed commands/ hardware
$ pull-lp-source sosreport xenial-proposed
# cd into sosreport and run command
$ sudo ./sosreport -o hardware --config sos.conf
# untar tar created from sosreport
$ tar -xvf <name of tar file>
# find `lshw` command output
$ cd /tmp/<name of tar file>/sos_
# verify output of lshw command
$ less lshw
# verified command ran and its output was saved to lshw file