Dell Idrac 重启机器进入单次pxe安装

用Dell idrac的脚本来使服务器进入单次pxe安装进程。

脚本如下:

1sshpass -p "xxxxxxxx" ssh -oStrictHostKeyChecking=no root@172.16.17.1 racadm set iDRAC.ServerBoot.BootOnce 1  
2sshpass -p "xxxxxxxx" ssh -oStrictHostKeyChecking=no root@172.16.17.1 racadm set iDRAC.ServerBoot.FirstBootDevice PXE  
3sshpass -p "xxxxxxxx" ssh -oStrictHostKeyChecking=no root@172.16.17.1 racadm serveraction powercycle  

Nxlog推送数据到elasticsearch
Kickstart安装脚本中如何同时配置bridge和bond
comments powered by Disqus