Files
iDRAC_Info/data/scripts/Intel_Server_info.py
T
unknown 40150cd66d update
2026-03-21 07:26:38 +09:00

22 lines
572 B
Python

#!/usr/bin/env python3
"""
레거시 호환성 래퍼 - Intel_Server_info.py
실제 로직은 unified/collect_server_info.py의 'intel_server' 프로파일 사용
"""
import sys
from pathlib import Path
script_dir = Path(__file__).parent
sys.path.insert(0, str(script_dir))
from unified.collect_server_info import main as unified_main
if __name__ == "__main__":
if len(sys.argv) < 2:
print("Usage: python Intel_Server_info.py <ip_file>")
sys.exit(1)
# intel_server 프로파일 사용
sys.argv.append("intel_server")
unified_main()