#!/bin/bash
if_file=`ls *.ima`
chmod +x socflash_x64
echo y |./socflash_x64 if=${if_file}
ipmitool lan set 1 ipsrc dhcp
sleep 3
ipmitool user set name 2 root
sleep 30
ipmitool user set password 2 ucloud.cn
