blob: 0fbdf4b62de65275dc016a57357ad7813bc03a14 [file] [log] [blame]
#!/bin/bash
#
# config: 2 20
# @brief: Get the inventory information.
#
. $DREPORT_INCLUDE/functions
desc="inventory"
command="busctl call --verbose --no-pager \
xyz.openbmc_project.Inventory.Manager \
/xyz/openbmc_project/inventory \
org.freedesktop.DBus.ObjectManager \
GetManagedObjects"
file_name="inventory.log"
add_cmd_output "$command" "$file_name" "$desc"