mirror of https://github.com/tteck/Proxmox.git
				
				
				
			Update pve8-post-install.sh
This commit is contained in:
		
							parent
							
								
									edd2c4100f
								
							
						
					
					
						commit
						53af603ace
					
				| 
						 | 
					@ -192,12 +192,6 @@ while true; do
 | 
				
			||||||
  esac
 | 
					  esac
 | 
				
			||||||
done
 | 
					done
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if ! command -v pveversion >/dev/null 2>&1; then
 | 
					 | 
				
			||||||
  header_info
 | 
					 | 
				
			||||||
  msg_error "\n No PVE Detected!\n"
 | 
					 | 
				
			||||||
  exit
 | 
					 | 
				
			||||||
fi
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
if [ $(pveversion | grep "pve-manager/8" | wc -l) -ne 1 ]; then
 | 
					if [ $(pveversion | grep "pve-manager/8" | wc -l) -ne 1 ]; then
 | 
				
			||||||
  header_info
 | 
					  header_info
 | 
				
			||||||
  msg_error "This version of Proxmox Virtual Environment is not supported"
 | 
					  msg_error "This version of Proxmox Virtual Environment is not supported"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue