From 067ea7174d019c824cc1d18790b8b2ad9dc962cd Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Tue, 22 Nov 2011 18:12:10 +0000 Subject: [PATCH] Set link authentication on for systems that care. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11035 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-nbroot2/bmcsetup | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/xCAT-nbroot2/bmcsetup b/xCAT-nbroot2/bmcsetup index db3d4d846..36e3eac49 100755 --- a/xCAT-nbroot2/bmcsetup +++ b/xCAT-nbroot2/bmcsetup @@ -189,6 +189,13 @@ if [ "$CURRPRIV" != "ADMINISTRATOR" ]; then done TRIES=0 fi +TRIES=0 +while ! ipmitool -d $idev channel setaccess $LANCHAN $USERSLOT link=on; do + sleep 1 + let TRIES=TRIES+1 + if [ $TRIES -gt $TIMEOUT ]; then break; fi +done +TRIES=0 if [ "$CURRENTUSER" != "$bmcu" ]; then while ! ipmitool -d $idev user set name $USERSLOT $bmcu; do sleep 1