ipmcset -d timezone
更新时间: 2026/07/28
在Gitcode上查看源码

返回总览

命令功能

设置时区

命令格式

ipmcset -d timezone -v <timezone>

命令类型

ipmcset

参数说明

NameTypeRequiredDefaultConstraintDescription
timezonestring--Time-Offset: -12:00~+14:00 e.g. +08:00,-04:30 UTC-12:00~UTC+14:00 e.g. UTC+08:00,UTC-04:30 GMT-12:00~GMT+14:00 e.g. GMT+08:00,GMT-04:30 Timezone : <City Name> e.g. Asia/Shanghai,America/New_York

使用示例

ipmcset -d timezone -v UTC+8:00
ipmcset -d timezone -v Asia/Shanghai

输出样例

Set time zone successfully.

配置来源

interface_config/cli/ipmcset/system.json