This commit is contained in:
2025-10-21 20:29:39 +09:00
parent 230ea0890d
commit bc15452181
163 changed files with 5177 additions and 16122 deletions

View File

@@ -62,7 +62,7 @@ def apply_xml(ip: str, xml_path: Path) -> tuple[bool, str]:
# 2) 명령 조립(리스트 인자, shell=False)
# 필요 시 아래 둘 중 하나만 사용하세요.
cmd = [RACADM, "-r", ip, "-u", IDRAC_USER, "-p", IDRAC_PASS, "config", "-f", str(safe_path)]
cmd = [RACADM, "-r", ip, "-u", IDRAC_USER, "-p", IDRAC_PASS, "set", "-t", "xml", "-f", str(safe_path)]
# 대안:
# cmd = [RACADM, "-r", ip, "-u", IDRAC_USER, "-p", IDRAC_PASS, "set", "-t", "xml", "-f", str(safe_path)]
@@ -125,4 +125,4 @@ def main():
logging.info("전체 설정 소요 시간: %d 시간, %d 분, %d 초.", el // 3600, (el % 3600) // 60, el % 60)
if __name__ == "__main__":
main()
main()