From 36fdae3eb1ae75e9d205c9ce6161a872e9d5d1dc Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 7 Apr 2026 00:35:15 +0000 Subject: [PATCH] =?UTF-8?q?Don't=20exit=20on=20PBS=20snapshot=20not=20foun?= =?UTF-8?q?d=20=E2=80=94=20skip=20and=20continue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit VM restore failure should not kill the entire script. Skip to Phase 5 (CT creation) instead. Co-Authored-By: Claude Opus 4.6 (1M context) --- pharmq-setup.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pharmq-setup.sh b/pharmq-setup.sh index a885413..2571c22 100644 --- a/pharmq-setup.sh +++ b/pharmq-setup.sh @@ -501,8 +501,11 @@ PYEOF ) if [ -z "${LATEST_SNAPSHOT:-}" ]; then - print_err "백업을 찾을 수 없습니다." - exit 1 + print_err "백업을 찾을 수 없습니다. (PBS 연결 또는 백업 ID 확인 필요)" + print_warn "VM 복원을 건너뛰고 계속 진행합니다." + VM_VMID="" + print_ok "Phase 4 완료: PBS 등록됨 (VM 복원 스킵)" + return 0 fi print_ok "최신 백업: $LATEST_SNAPSHOT"