Chinaunix首页 | 论坛 | 博客
  • 博客访问: 824895
  • 博文数量: 109
  • 博客积分: 650
  • 博客等级: 上士
  • 技术积分: 1483
  • 用 户 组: 普通用户
  • 注册时间: 2012-03-01 17:29
文章分类

全部博文(109)

文章存档

2016年(5)

2015年(21)

2014年(16)

2013年(38)

2012年(29)

分类: LINUX

2013-03-14 15:44:39

python ./Bis2_fw_upgrade.py sxp_evbd_rom0.bin
IPMI_IP=`ipmitool lan print 1 | grep "IP Address" | sed -n '2p' | awk '{print $4}'`
file_num=`ls -l /target/var/uds/product | grep ".img" | grep "STGSMCA" | wc -l`
   
cp ../updatetool/upgrade.tar.gz upgrade.tar.gz
    rm -fr upgrade
    tar -zxvf upgrade.tar.gz
    
  IMG_FILE=`ls -l /target/var/uds/product | grep ".img" | grep "STGSMCA" | awk '{print $9}'`

   cp -f /target/var/uds/product/$IMG_FILE upgrade/$IMG_FILE    

   python new_bmc_auto_tools.py -i $IPMI_IP -u admin -p Admin@storage -a upgrade -f $IMG_FILE -s no &


阅读(767) | 评论(0) | 转发(0) |
0

上一篇:DHCP服务配置2

下一篇:RAID 技术经典解析

给主人留下些什么吧!~~