ipmcset -d upgrade
更新时间: 2026/07/28
在Gitcode上查看源码Command Function
Upgrade component
Command Format
ipmcset -d upgrade -v <filepath> [activemode] [-s <systemid>]
Command type
ipmcset
Parameters
| Name | Type | Required | Default | Constraint | Description |
|---|---|---|---|---|---|
SystemId | - | No | - | - | - |
filepath | string | Yes | - | Regex | e.g.: /tmp/image.hpm |
activemode | integer | No | - | Type: Enum; Enum: 0, 1 | e.g.: 1 0: firmware need to reboot manually after openUBMC is upgraded. 1: firmware will reboot after openUBMC is upgraded(default). systemid: e.g.: 1 Note: 1.If OS is power on,the BIOS upgrade file is uploaded to openUBMC and take effect when OS is power-off or reseted next time. 2.If OS is power on,the CPLD or VRD upgrade file is uploaded to openUBMC and take effect when OS is power-off. 3.Length of filepath should not exceed 255 characters. 4.Systemid indicates the host whose firmware is to be upgraded. The host must be in position. If systemid is not specified, all hosts are upgraded by default. |
Regex正则表达式
filepath
^((https|sftp|nfs|cifs|scp)://.{1,1000}|/tmp/.{1,246})$Output Examples
Please make sure the <value> is working while upgrading.
Updating...
Upgrade successfully and need to reboot the BMC to active the upgrade.
Upgrade successfully.