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 (Note: this command requires Python 2.6 or later)
28
29 New in version 21.
30
31
33 --xml Print the generated Job XML that was submitted. Use this with
34 --dry-run if you just want to see what would be submitted.
35
36 --pretty-xml
37 Pretty print the generated Job XML that was submitted. Use this
38 with --dry-run if you just want to see what would be submitted.
39
40 --dry-run
41 Do not submit the job(s) to Beaker. Use this with --xml or
42 --pretty-xml to see what would be submitted.
43
44 --wait Watch the newly submitted jobs for state changes and print them
45 to stdout. The command will not exit until all submitted jobs
46 have finished. See bkr-job-watch(1).
47
49 1 if any jobs failed submission or execution (when --wait is used),
50 otherwise zero.
51
53 Submit an inventory job for test1.example.com:
54
55 bkr update-inventory test1.example.com
56
57 Do not submit an inventory job, but just pretty print the generated job
58 XML:
59
60 bkr update-inventory --dry-run --pretty-xml test1.example.com
61
63 bkr(1), bkr-machine-test(1),
64
66 The Beaker team <beaker-devel@lists.fedorahosted.org>
67
69 2013, Red Hat, Inc
70
71
72
73
7426.3 Jan 31, 2019 BKR-UPDATE-INVENTORY(1)