Skip to main content

updaterepo refresh

This command retrieves information about firmware updates in the firmware-updates repository.

Syntax

updaterepo refresh  -h

updaterepo refresh -m <machine_types> [-s <scope>] [-v <filter>]

Options

{-h | --help}
Displays the syntax and brief usage information for this command.
{–m | --mt} <machine_types>
Specifies a list of machine types, separated by a comma.
{–s | --scope} <scope>
Specifies the scope of the operation. This can be one of the following values.
  • all. Retrieves information about all versions of firmware updates that are available for the specified devices.

  • latest. (default) Retrieves information about the most current version of firmware updates for the specified devices.

{-v | --view} <filter>
Identifies the view to use for the returned data. If a filter is not specified, the default view is used.

You can also create custom views (see Creating custom views).

Examples

The following example refresh firmware updates repository.

connect --url https://192.0.2.0 --user ADMIN --noverify
updaterepo refresh -m 7903 -s all