mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 11:22:27 +00:00 
			
		
		
		
	fix issue #4673 There's no netbooting status when provision ubuntu stateless node
This commit is contained in:
		| @@ -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 | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user