From e13da2b82ab26b97199f42b024fb7f64770685c4 Mon Sep 17 00:00:00 2001 From: wanghuaz Date: Mon, 5 Dec 2011 08:05:17 +0000 Subject: [PATCH] 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 --- xCAT/postscripts/setbootfromnet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT/postscripts/setbootfromnet b/xCAT/postscripts/setbootfromnet index 06105cb59..470465a47 100755 --- a/xCAT/postscripts/setbootfromnet +++ b/xCAT/postscripts/setbootfromnet @@ -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