metalcloud-cli server firmware upgrade-component
Upgrade firmware for a specific component
Synopsis
Section titled “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
Section titled “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
Section titled “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
Section titled “Options” --config-source string Source of the firmware upgrade configuration. Can be 'pipe' or path to a JSON file. -h, --help help for upgrade-componentOptions inherited from parent commands
Section titled “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
Section titled “SEE ALSO”- metalcloud-cli server firmware - Server firmware management