mirror of https://github.com/tteck/Proxmox.git
				
				
				
			Update hw-acceleration.sh
- Requires PVE Version 8.0 or higher
This commit is contained in:
		
							parent
							
								
									d94dacc53b
								
							
						
					
					
						commit
						16a37644bb
					
				| 
						 | 
				
			
			@ -39,6 +39,14 @@ function msg_ok() {
 | 
			
		|||
  echo -e "${BFR} ${CM} ${GN}${msg}${CL}"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
if ! pveversion | grep -Eq "pve-manager/(8\.[0-9])"; then
 | 
			
		||||
  msg_error "This version of Proxmox Virtual Environment is not supported"
 | 
			
		||||
  echo -e "Requires PVE Version 8.0 or higher"
 | 
			
		||||
  echo -e "Exiting..."
 | 
			
		||||
  sleep 2
 | 
			
		||||
  exit
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
whiptail --backtitle "Proxmox VE Helper Scripts" --title "Add Intel HW Acceleration" --yesno "This Will Add Intel HW Acceleration to an existing LXC Container. Proceed?" 8 72 || exit
 | 
			
		||||
NODE=$(hostname)
 | 
			
		||||
PREV_MENU=()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue