mirror of https://github.com/tteck/Proxmox.git
				
				
				
			Update haos-vm-v4.sh
This commit is contained in:
		
							parent
							
								
									588b7b5942
								
							
						
					
					
						commit
						b402e0d5fe
					
				| 
						 | 
					@ -62,7 +62,7 @@ function cleanup() {
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
TEMP_DIR=$(mktemp -d)
 | 
					TEMP_DIR=$(mktemp -d)
 | 
				
			||||||
pushd $TEMP_DIR >/dev/null
 | 
					pushd $TEMP_DIR >/dev/null
 | 
				
			||||||
if [ `pveversion | grep "pve-manager/7.2" | wc -l` -ne 1 ]; then
 | 
					if [ `pveversion | grep "pve-manager/7" | wc -l` -ne 1 ]; then
 | 
				
			||||||
        echo "⚠ This version of Proxmox Virtual Environment is not supported"
 | 
					        echo "⚠ This version of Proxmox Virtual Environment is not supported"
 | 
				
			||||||
        echo "Requires PVE Version: =>7.2"
 | 
					        echo "Requires PVE Version: =>7.2"
 | 
				
			||||||
        echo "Exiting..."
 | 
					        echo "Exiting..."
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue