Don't exit on PBS snapshot not found — skip and continue
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) <noreply@anthropic.com>
This commit is contained in:
@@ -501,8 +501,11 @@ PYEOF
|
|||||||
)
|
)
|
||||||
|
|
||||||
if [ -z "${LATEST_SNAPSHOT:-}" ]; then
|
if [ -z "${LATEST_SNAPSHOT:-}" ]; then
|
||||||
print_err "백업을 찾을 수 없습니다."
|
print_err "백업을 찾을 수 없습니다. (PBS 연결 또는 백업 ID 확인 필요)"
|
||||||
exit 1
|
print_warn "VM 복원을 건너뛰고 계속 진행합니다."
|
||||||
|
VM_VMID=""
|
||||||
|
print_ok "Phase 4 완료: PBS 등록됨 (VM 복원 스킵)"
|
||||||
|
return 0
|
||||||
fi
|
fi
|
||||||
print_ok "최신 백업: $LATEST_SNAPSHOT"
|
print_ok "최신 백업: $LATEST_SNAPSHOT"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user