The hardware details shown in Beaker for my system are out of date, because the hardware has been modified. How can I update Beaker's records so that they reflect the current hardware?
Asked
Active
Viewed 50 times
1 Answers
0
The inventory details for a system are gathered automatically using the /distribution/inventory task. The easiest way to run this task is to use the bkr machine-test
workflow command to generate and submit an appropriate job definition:
bkr machine-test --inventory --family=RedHatEnterpriseLinux6 \
--arch=x86_64 --machine=host1.example.com
This command will submit a job running /distribution/inventory on host1.example.com
after provisioning RHEL6.
There is also a standalone command beaker-system-scan
available in the Beaker harness yum repos. The /distribution/inventory
task uses this command under the covers. You could install it and run it by hand on the system, if you want to update the system's hardware details in Beaker without reprovisioning it.

DanC
- 1,844
- 13
- 12