mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-03 03:50:08 +00:00
fix issue #4673 There's no netbooting status when provision ubuntu stateless node
This commit is contained in:
parent
7310138a9d
commit
da77461c61
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user