mirror of https://github.com/tteck/Proxmox.git
				
				
				
			
							parent
							
								
									1290e91450
								
							
						
					
					
						commit
						cb312d1f5b
					
				| 
						 | 
					@ -204,7 +204,7 @@ pct start "$CTID"
 | 
				
			||||||
sleep 5
 | 
					sleep 5
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Get container IP
 | 
					# Get container IP
 | 
				
			||||||
set +e
 | 
					set +euo pipefail # Turn off error checking
 | 
				
			||||||
max_attempts=5
 | 
					max_attempts=5
 | 
				
			||||||
attempt=1
 | 
					attempt=1
 | 
				
			||||||
IP=""
 | 
					IP=""
 | 
				
			||||||
| 
						 | 
					@ -224,7 +224,6 @@ if [[ -z $IP ]]; then
 | 
				
			||||||
  IP="NOT FOUND"
 | 
					  IP="NOT FOUND"
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
set -e
 | 
					 | 
				
			||||||
# Start Proxmox VE Monitor-All if available
 | 
					# Start Proxmox VE Monitor-All if available
 | 
				
			||||||
if [[ -f /etc/systemd/system/ping-instances.service ]]; then
 | 
					if [[ -f /etc/systemd/system/ping-instances.service ]]; then
 | 
				
			||||||
  systemctl start ping-instances.service
 | 
					  systemctl start ping-instances.service
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue