# ipmitool **Repository Path**: gaoguangjun/ipmitool ## Basic Information - **Project Name**: ipmitool - **Description**: 一些常用的IPMItool的工具 - **Primary Language**: Shell - **License**: GPL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2021-12-01 - **Last Updated**: 2021-12-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 修改IPMI参数的工具 #### 介绍 修改IPMI的NTP SERVER 适用: 机型:浪潮NF5280M5 BMC_Version:4.18.0 #### 前置条件 安装ipmitool工具 #### 帮助文档 usage: main.py [-h] [-H HOST] [-U USERNAME] [-P PASSWORD] [--ntp_set CHANNEL,SERVER] optional arguments: -h, --help show this help message and exit -H HOST The host or ip of ipmi -U USERNAME The username of IPMI -P PASSWORD The password of IPMI --ntp_set CHANNEL,SERVER CHANNEL: To configure the th NTP server; SERVER: The address of NTP server #### 修改IPMI的NTP Server地址 `./main.py -H < _IPMI_IP_ > -U < _USERNAME_ > -P < _PASSWORD_ > --ntp_set < _CHANNEL_ > , < _NTP_SERVER_ >` 示例: `./main.py -H _ipmi_ip_ -U _username_ -P _password_ --ntp_set 1,192.168.30.101` 修改结果: ![NTP修改](https://images.gitee.com/uploads/images/2019/0131/182915_7e6ff029_4797366.png "屏幕截图.png")