metalcloud-cli server firmware schedule-upgrade
Schedule a firmware upgrade for a server
Synopsis
Section titled “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
Section titled “Schedule upgrade using JSON configuration file”metalcloud-cli server firmware schedule-upgrade 123 —config-source ./schedule-config.json
Schedule upgrade using piped JSON configuration
Section titled “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
Section titled “Options” --config-source string Source of the schedule configuration. Can be 'pipe' or path to a JSON file. -h, --help help for schedule-upgradeOptions 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