-Fix off-by-one bug in the autodetect script with respect to NICs

-Relax cipher suite 1, which still requires a password, cipher suite 0 remains banned from access as it cannot be secured at all


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@721 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2008-03-07 00:01:14 +00:00
parent 628b8f4c30
commit 419aa05c18
2 changed files with 4 additions and 4 deletions

View File

@ -38,6 +38,6 @@ echo "Enabling IPMI v 1.5 MD5 LAN access:"
ipmitool lan set 1 auth admin md5
echo "Enabling IPMI v 2.0 LAN access:"
ipmitool lan set 1 cipher_privs uuaaXXXXXXXXXXX
ipmitool lan set 1 cipher_privs uaaaXXXXXXXXXXX

View File

@ -46,12 +46,12 @@ do
else
modprobe $MOD
udhcpc -i eth$nic -b
nic=$(($nic + 1))
let extrat=0
until ifconfig eth$nic|grep "inet addr" || [ $extrat == 30 ]; do
sleep 1
let extrat=extrat+1
done
nic=$(($nic + 1))
fi
;;
scsi|raid)
@ -72,12 +72,12 @@ if [ -d /proc/device-tree/vdevice/l-lan* ]; then
modprobe ibmveth
for i in /sys/bus/vio/drivers/ibmveth/*/net*; do
udhcpc -i eth$nic -b
nic=$(($nic + 1))
let extrat=0
until ifconfig eth$nic|grep "inet addr" || [ $extrat == 30 ]; do
sleep 1
let extrat=extrat+1
done
nic=$(($nic + 1))
done
fi
@ -85,12 +85,12 @@ if [ -d /proc/device-tree/lhea* ]; then
modprobe ehea
for i in /sys/bus/ibmebus/devices/port*; do
udhcpc -i eth$nic -b
nic=$(($nic + 1))
let extrat=0
until ifconfig eth$nic|grep "inet addr" || [ $extrat == 30 ]; do
sleep 1
let extrat=extrat+1
done
nic=$(($nic + 1))
done
fi