소스 검색

Update haos-vm.sh

PVE 8 ready
tteckster 2 년 전
부모
커밋
7b20f5aef8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      vm/haos-vm.sh

+ 1 - 1
vm/haos-vm.sh

@@ -85,7 +85,7 @@ function msg_error() {
 }
 
 function pve_check() {
-  if [ $(pveversion | grep -c "pve-manager/7\.[2-9]") -eq 0 ]; then
+  if ! pveversion | grep -Eq "pve-manager/(7\.[2-9]|8\.[0-9])"; then
     echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
     echo -e "Requires PVE Version 7.2 or higher"
     echo -e "Exiting..."