BKR-UPDATE-INVENTORY(1)
πΈ NAME πΈ
okay bestie, this is the BKR-UPDATE-INVENTORY(1) page β the command is bkr-update-inventory, and it submits a inventory job for the system π
β¨
β¨ SYNOPSIS β¨
bkr update-inventory [options]
[--xml | --pretty-xml]
[--dry-run | --wait]
[<fqdn>...]
π¦ DESCRIPTION π¦
So what's the vibe? It submits a job to scan the given system and update its hardware details recorded in Beaker π«Ά. The Beaker server will automatically select the most suitable distro tree based on the system's architecture and the availability of the distro trees β iconic auto-picking behavior, honestly.
If you want to customize the distro selection or add other tasks to the job, use bkr machine-test --inventory instead. That command supports the complete set of workflow options for customizing your job, so it's giving full-control main character energy π.
Common bkr options are described in the Options section of bkr(1) β go check that bestie for the generic stuff.
New in version 21 π.
π OPTIONS π
--xmlβ Print the generated Job XML that was submitted. Use this with--dry-runif you just want to see what would be submitted. Perfect for the "show me the receipts" vibe π§Ύβ¨--pretty-xmlβ Pretty print the generated Job XML that was submitted. Use this with--dry-runif you just want to see what would be submitted. Fancy formatting only, no cap π--dry-runβ Do not submit the job(s) to Beaker. Use this with--xmlor--pretty-xmlto see what would be submitted. Preview-only mode, bestie π--waitβ Watch the newly submitted jobs for state changes and print them tostdout. The command will not exit until all submitted jobs have finished. Seebkr-job-watch(1)for the watch-y details ππ
π₯ EXIT STATUS π₯
1 if any jobs failed submission or execution (when --wait is used), otherwise zero. That's the whole mood: failed submission or execution with --wait gives 1, everything else gives zero πβ
π EXAMPLES π
Submit an inventory job for test1.example.com:
bkr update-inventory test1.example.com
Do not submit an inventory job, but just pretty print the generated job XML:
bkr update-inventory --dry-run --pretty-xml test1.example.com
π SEE ALSO π
bkr(1), bkr-machine-test(1), β go read those if you want the full lore πΈ
π AUTHOR π
The Beaker team <beaker-devel@lists.fedorahosted.org> π
π COPYRIGHT π
2013-2025 Red Hat, Inc.
okay that's the whole page, bestie β source/version 29.2, dated May 26, 2025, signing off with fairy dust π§β¨π
π¦ where this page comes from
- epel 9: beaker-client 29.2-2.el9 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms