mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-04 13:22:36 +00:00 
			
		
		
		
	Add authority check to make remoteimmsetup to work
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14659 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		@@ -179,10 +179,13 @@ else
 | 
			
		||||
    USERSLOT=2
 | 
			
		||||
fi
 | 
			
		||||
if [ "$ISITE" = 1 ]; then
 | 
			
		||||
    allowcred.awk &
 | 
			
		||||
    CREDPID=$!
 | 
			
		||||
    while ! remoteimmsetup
 | 
			
		||||
    do
 | 
			
		||||
        echo "Waiting for xCAT remote configuration of service processor via CMM.."
 | 
			
		||||
    done
 | 
			
		||||
    kill $CREDPID
 | 
			
		||||
fi
 | 
			
		||||
CURRENTUSER=`ipmitool -d $idev user list $LANCHAN|grep ^$USERSLOT|awk '{print $2}'`
 | 
			
		||||
DISABLEUSERS=`echo 1 2 3 4|sed -e s/$USERSLOT//`
 | 
			
		||||
 
 | 
			
		||||
@@ -179,10 +179,13 @@ else
 | 
			
		||||
    USERSLOT=2
 | 
			
		||||
fi
 | 
			
		||||
if [ "$ISITE" = 1 ]; then
 | 
			
		||||
    allowcred.awk &
 | 
			
		||||
    CREDPID=$!
 | 
			
		||||
    while ! remoteimmsetup
 | 
			
		||||
    do
 | 
			
		||||
        echo "Waiting for xCAT remote configuration of service processor via CMM.."
 | 
			
		||||
    done
 | 
			
		||||
    kill $CREDPID
 | 
			
		||||
fi
 | 
			
		||||
CURRENTUSER=`ipmitool -d $idev user list $LANCHAN|grep ^$USERSLOT|awk '{print $2}'`
 | 
			
		||||
DISABLEUSERS=`echo 1 2 3 4|sed -e s/$USERSLOT//`
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user