idcos / osinstall-server

OSInstall server
GNU General Public License v3.0
63 stars 54 forks source link

ipmitool #30

Open niqiaoqiao opened 5 years ago

niqiaoqiao commented 5 years ago

OOB_IP=$(ipmitool lan print | awk '/IP Address[[:blank:]]+:/ { print $NF }') 不是所有的服务器都这个命令吧 HP的ID是2 联想共享是8独享是1 IBM的需要加 lan print 1

wangsu728 commented 5 years ago

默认用的是 channel 1,如果有需要可以自己修改采集脚本