configuration /
system /
firmware /
autoupdate
CLI REST-API
start-update
start-update [option]
command start-update checks for a firmware update at a configured or specifield (--url) URL
and can automatically download, install and select the new firmware version as well
as automatically reboot into the new firmware when it has been installed successfully.
This is only done if the available firmware at that URL is newer than the one currently running on the system.
RESTAPI: The data can be passed in the body like this:
{
"parameters": {
"url": "fw_7.00.001",
"download": "fw_7.00.001.rel",
"mode": "check"
}
}
| Name | Value | Description | Example |
|---|
| url | url | checks for an available update at the specified URL. Per default,the url is configured with the /firmware/autoupdate/server/url configuration parameter | |
| download | url | downloads from this URL to install the update the url should point to a .rel file | |
| force | | downloads, installs and selects the available firmware on the server in any case,even if it is not newer than the currently running firmware | |
| check | | only check if a newer firmware is available but do not download and install itto evaluate if the firmware file is compatible with the system but do not install it. | |
See also:
/configuration/system/firmware/autoupdate: Autoupdate
/configuration/system/firmware/autoupdate/force-update: forces a firmware update
/configuration/system/firmware/autoupdate/check-update: checks for a firmware update
REST-API Support:
This command is supported by the REST API:
Method: PUT
URL: /api/configuration/system/firmware/autoupdate/start-update
Body:
{
"parameters": {
"url": [url],
"download": [url],
"mode": [mode]
}
}
Example using curl:
curl -X PUT /api/configuration/system/firmware/autoupdate/start-update -d
"{
\"parameters\": {
\"url\": \"fw_7.00.001\",
\"download\": \"fw_7.00.001.rel\",
\"mode\": \"check\"
}
}"