BKR-UPDATE-INVENTORY(1)

πŸ“¦
version 29.2 Β· 3 versions
, in epel 9

🌸 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-run if 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-run if 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 --xml or --pretty-xml to see what would be submitted. Preview-only mode, bestie πŸ™ˆ
  • --wait β€” Watch the newly submitted jobs for state changes and print them to stdout. The command will not exit until all submitted jobs have finished. See bkr-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> πŸ’Œ


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