2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-22 03:32:04 +00:00

Merge pull request #329 from immarvin/onissue4673

fix issue #4673 There's no netbooting status when provision ubuntu stateless node
This commit is contained in:
penguhyang 2015-11-03 18:18:35 +08:00
commit c1ab39bb9a

View File

@ -1532,14 +1532,14 @@ else
retrytimes=0
cmd=""
while [ "\$cmd" != "done" ]; do
retrytimes=`expr \$retrytimes + 1`
retrytimes=`busybox expr \$retrytimes + 1`
if [ \$retrytimes -eq 60 ]; then
break;
fi
read -t 60 cmd
if [ "\$cmd" == "ready" ]; then
head -n 1 /tmp/ncarg
rm -rf /tmp/ncarg
busybox head -n 1 /tmp/ncarg
busybox rm -rf /tmp/ncarg
fi
done