From 24572647dbefec53417b93e17443be41f96d4358 Mon Sep 17 00:00:00 2001 From: wanghuaz Date: Sun, 30 Oct 2011 10:16:13 +0000 Subject: [PATCH] Update confighfi postscript to work with Torrent 2.1 hardwares git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10925 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/postscripts/confighfi | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/xCAT/postscripts/confighfi b/xCAT/postscripts/confighfi index 395e70a1c..b1b2a6fb6 100644 --- a/xCAT/postscripts/confighfi +++ b/xCAT/postscripts/confighfi @@ -107,12 +107,13 @@ if [ -n $CLIENT_IP ] then #Check whether the mlt0 is available `lsdev -C | grep mlt0 | grep Available 2>&1 >/dev/null` - if [ $? ] - then - /usr/ml/aix71/rc.ml - fi chdev -l ml0 -a state=detach + + # Reconfig ml0 since HFx are configured after ml0 is available + rmdev -l mlt0 + mkdev -l mlt0 + chdev -l ml0 -a netaddr=$CLIENT_IP -a netmask=$NETMASK -a state=up fi