ipmcset -d upgrade
更新时间: 2026/07/28
在Gitcode上查看源码命令功能
升级固件
命令格式
ipmcset -d upgrade -v <filepath> [activemode] [-s <systemid>]
命令类型
ipmcset
参数说明
| Name | Type | Required | Default | Constraint | Description |
|---|---|---|---|---|---|
SystemId | - | 否 | - | - | - |
filepath | string | 是 | - | Regex | e.g.: /tmp/image.hpm |
activemode | integer | 否 | - | 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})$输出样例
Please make sure the <value> is working while upgrading.
Updating...
Upgrade successfully and need to reboot the BMC to active the upgrade.
Upgrade successfully.