🔧 fix: Proxmox 버전 파싱 로직 수정

- pveversion 출력에서 올바른 필드()를 사용하도록 수정
- 9.x 버전 감지 정상 동작 확인

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
시골약사 2025-08-24 13:42:48 +09:00
parent 8748a8bf9a
commit ca7408c3a5

View File

@ -54,10 +54,10 @@ check_proxmox_version() {
msg_error "Proxmox VE가 설치되어 있지 않습니다."
fi
# 버전 정보 추출 (더 안전한 방식)
# 버전 정보 추출 (수정된 방식)
local version_info
if command -v pveversion > /dev/null 2>&1; then
version_info=$(pveversion 2>/dev/null | head -n1 | awk '{print $2}' 2>/dev/null || echo "unknown")
version_info=$(pveversion 2>/dev/null | head -n1 | awk '{print $1}' | cut -d'/' -f2 2>/dev/null || echo "unknown")
else
version_info="unknown"
fi