mirror of https://github.com/tteck/Proxmox.git
				
				
				
			Update post-install.sh
This commit is contained in:
		
							parent
							
								
									e9658f3e3a
								
							
						
					
					
						commit
						ac878833a9
					
				| 
						 | 
					@ -22,6 +22,12 @@ while true; do
 | 
				
			||||||
        * ) echo "Please answer yes or no.";;
 | 
					        * ) echo "Please answer yes or no.";;
 | 
				
			||||||
    esac
 | 
					    esac
 | 
				
			||||||
done
 | 
					done
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if ! command -v pveversion >/dev/null 2>&1; then
 | 
				
			||||||
 | 
					  echo -e "\n🛑  No PVE Detected, Wrong Script!\n"
 | 
				
			||||||
 | 
					  exit 1
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if [ `pveversion | grep "pve-manager/7" | wc -l` -ne 1 ]; then
 | 
					if [ `pveversion | grep "pve-manager/7" | wc -l` -ne 1 ]; then
 | 
				
			||||||
        echo -e "\n${RD}⚠ This version of Proxmox Virtual Environment is not supported"
 | 
					        echo -e "\n${RD}⚠ This version of Proxmox Virtual Environment is not supported"
 | 
				
			||||||
        echo -e "Requires PVE Version: 7.XX${CL}"
 | 
					        echo -e "Requires PVE Version: 7.XX${CL}"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue