1BKR-UPDATE-INVENTORY(1) Beaker BKR-UPDATE-INVENTORY(1)
2
3
4
6 bkr-update-inventory - Submits a inventory job for the system
7
9 bkr update-inventory [options]
10 [--xml | --pretty-xml]
11 [--dry-run | --wait]
12 [<fqdn>...]
13
14
16 Submits a job to scan the given system and update its hardware details
17 recorded in Beaker. The Beaker server will automatically select the
18 most suitable distro tree based on the system's architecture and the
19 availability of the distro trees.
20
21 If you want to customize the distro selection or add other tasks to the
22 job, use bkr machine-test --inventory instead. That command supports
23 the complete set of workflow options for customizing your job.
24
25 Common bkr options are described in the Options section of bkr(1).
26
27 New in version 21.
28
29
31 --xml Print the generated Job XML that was submitted. Use this with
32 --dry-run if you just want to see what would be submitted.
33
34 --pretty-xml
35 Pretty print the generated Job XML that was submitted. Use this
36 with --dry-run if you just want to see what would be submitted.
37
38 --dry-run
39 Do not submit the job(s) to Beaker. Use this with --xml or
40 --pretty-xml to see what would be submitted.
41
42 --wait Watch the newly submitted jobs for state changes and print them
43 to stdout. The command will not exit until all submitted jobs
44 have finished. See bkr-job-watch(1).
45
47 1 if any jobs failed submission or execution (when --wait is used),
48 otherwise zero.
49
51 Submit an inventory job for test1.example.com:
52
53 bkr update-inventory test1.example.com
54
55 Do not submit an inventory job, but just pretty print the generated job
56 XML:
57
58 bkr update-inventory --dry-run --pretty-xml test1.example.com
59
61 bkr(1), bkr-machine-test(1),
62
64 The Beaker team <beaker-devel@lists.fedorahosted.org>
65
67 2013-2022 Red Hat, Inc.
68
69
70
71
7228.3 May 21, 2022 BKR-UPDATE-INVENTORY(1)