Fixing bashisms on this postscript. Tracked by Bug 3415015
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10662 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
5088278f73
commit
ab488fb9d3
@ -21,7 +21,8 @@ export USEOPENSSLFORXCAT
|
||||
cat /tmp/xcat_client_cred | grep -v '<'|sed -e 's/</</' -e 's/>/>/' -e 's/&/&/' -e 's/"/"/' -e "s/'/'/" > /root/.xcat/client-cred.pem
|
||||
CONT=`cat /root/.xcat/client-cred.pem`
|
||||
while [ -z "$CONT" ]; do
|
||||
let SLI=$RANDOM%10+10
|
||||
SLI=$(awk 'BEGIN{srand(); printf("%d\n",rand()*10)}')
|
||||
SLI=$((10 + $SLI))
|
||||
sleep $SLI
|
||||
getcredentials.awk xcat_client_cred | grep -v '<'|sed -e 's/</</' -e 's/>/>/' -e 's/&/&/' -e 's/"/"/' -e "s/'/'/" > /root/.xcat/client-cred.pem
|
||||
CONT=`cat /root/.xcat/client-cred.pem`
|
||||
|
Loading…
Reference in New Issue
Block a user