mirror of
				https://github.com/vdsm/virtual-dsm.git
				synced 2025-11-04 08:54:51 +08:00 
			
		
		
		
	fix: Remove healthcheck exception
This commit is contained in:
		
							parent
							
								
									aaded40a4f
								
							
						
					
					
						commit
						8b0ec3bef7
					
				@ -7,6 +7,7 @@ error () { printf "%b%s%b" "\E[1;31m❯ " "ERROR: $1" "\E[0m\n" >&2; }
 | 
			
		||||
file="/run/dsm.url"
 | 
			
		||||
shutdown="/run/qemu.count"
 | 
			
		||||
url="http://127.0.0.1:2210/read?command=10"
 | 
			
		||||
 | 
			
		||||
resp_err="Guest returned an invalid response:"
 | 
			
		||||
jq_err="Failed to parse response from guest: jq error"
 | 
			
		||||
 | 
			
		||||
@ -19,8 +20,6 @@ do
 | 
			
		||||
  sleep 3
 | 
			
		||||
 | 
			
		||||
  [ -f "$shutdown" ] && exit 1
 | 
			
		||||
 | 
			
		||||
  # Healthcheck may have intervened
 | 
			
		||||
  [ -f "$file" ] && break
 | 
			
		||||
 | 
			
		||||
  # Retrieve IP from guest VM
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user