22 lines
572 B
Python
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()
|