metalcloud-cli server firmware upgrade-component

Upgrade firmware for a specific component

Synopsis

Upgrade firmware for a specific component.

This command initiates a firmware upgrade for a specific firmware component on the specified server. The upgrade configuration must be provided via a JSON configuration file or piped JSON data.

Required Arguments: server_id The ID of the server component_id The ID of the firmware component to upgrade

Required Flags: –config-source Source of the firmware upgrade configuration. Can be ‘pipe’ or path to a JSON file

Examples:

Upgrade component using JSON configuration file

metalcloud-cli server firmware upgrade-component 123 456 –config-source ./upgrade-config.json

Upgrade component using piped JSON configuration

echo ‘{“version”: “2.1.0”}’ | metalcloud-cli server firmware upgrade-component 123 456 –config-source pipe

metalcloud-cli server firmware upgrade-component server_id component_id [flags]

Options

      --config-source string   Source of the firmware upgrade configuration. Can be 'pipe' or path to a JSON file.
  -h, --help                   help for upgrade-component

Options inherited from parent commands

  -k, --api_key string         MetalCloud API key
  -c, --config string          Config file path
  -d, --debug                  Set to enable debug logging
  -e, --endpoint string        MetalCloud API endpoint
  -f, --format string          Output format. Supported values are 'text','csv','md','json','yaml'. (default "text")
  -i, --insecure_skip_verify   Set to allow insecure transport
  -l, --log_file string        Log file path
  -v, --verbosity string       Log level verbosity (default "INFO")

SEE ALSO

Auto generated by spf13/cobra on 11-Aug-2025