metalcloud-cli server firmware schedule-upgrade

Schedule a firmware upgrade for a server

Synopsis

Schedule a firmware upgrade for a server.

This command schedules a firmware upgrade for the specified server using a JSON configuration file or piped JSON data. The configuration should specify the schedule details and upgrade parameters.

Required Arguments: server_id The ID of the server to schedule upgrade for

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

Examples:

Schedule upgrade using JSON configuration file

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

Schedule upgrade using piped JSON configuration

echo ‘{“schedule”: “2024-01-01T10:00:00Z”}’ | metalcloud-cli server firmware schedule-upgrade 123 –config-source pipe

metalcloud-cli server firmware schedule-upgrade server_id [flags]

Options

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

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