Fixed the issue that bootlist cannot set hfx as boot device. on AIX, we need to use hfix instead of hfx as boot device, same way with ethernet.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11122 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
wanghuaz 2011-12-05 08:05:17 +00:00
parent f9fb4b8b0c
commit e13da2b82a

View File

@ -52,7 +52,7 @@ if [ ! -z $NODE_NAME ]; then
else ## for AIX
CLIENT_IP=`ping -c 3 $NODE_NAME | grep "icmp_seq" | sed 's/.*from \([0-9.]*\):.*/\1/' | uniq 2>&1`
RET=`echo $?`
NIC=`netstat -rni | grep "$CLIENT_IP" | awk '{print $1}' | sed 's/en/ent/g' | uniq 2>&1`
NIC=`netstat -rni | grep "$CLIENT_IP" | awk '{print $1}' | sed 's/en/ent/g;s/hf/hfi/g' | uniq 2>&1`
NRET=`echo $?`
fi
else