mirror of
				https://github.com/tteck/Proxmox.git
				synced 2025-11-04 04:49:29 +00:00 
			
		
		
		
	Update haos-vm-v4.sh
fix minimum PVE check
This commit is contained in:
		
							parent
							
								
									b402e0d5fe
								
							
						
					
					
						commit
						1a876727af
					
				@ -62,13 +62,15 @@ function cleanup() {
 | 
			
		||||
}
 | 
			
		||||
TEMP_DIR=$(mktemp -d)
 | 
			
		||||
pushd $TEMP_DIR >/dev/null
 | 
			
		||||
if [ `pveversion | grep "pve-manager/7" | wc -l` -ne 1 ]; then
 | 
			
		||||
if [ `pveversion | grep "pve-manager/7.2" | wc -l` -ne 1 ]; then
 | 
			
		||||
  if [ `pveversion | grep "pve-manager/7.3" | wc -l` -ne 1 ]; then
 | 
			
		||||
        echo "⚠ This version of Proxmox Virtual Environment is not supported"
 | 
			
		||||
        echo "Requires PVE Version: =>7.2"
 | 
			
		||||
        echo "Exiting..."
 | 
			
		||||
        sleep 3
 | 
			
		||||
        exit
 | 
			
		||||
fi
 | 
			
		||||
  fi
 | 
			
		||||
fi  
 | 
			
		||||
if (whiptail --title "HOME ASSISTANT OS VM" --yesno "This will create a New Home Assistant OS VM. Proceed?" 10 58); then
 | 
			
		||||
    echo "User selected Yes"
 | 
			
		||||
else
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user