mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-10 10:35:51 +00:00
384c017f04
**LXC Bind Mount Removal**: - Changed from sed to `pct set -delete` for safer mount removal - Validates syntax and prevents breaking container configs - Finds mount points by grepping for pulse-sensor-proxy, extracts mp number **API Token Parsing** (three-tier fallback): 1. Try `pveum --output-format json` with python3 JSON parsing 2. Fall back to `pvesh get /access/users/pulse-monitor@pam/token` JSON API 3. Last resort: parse table output with improved filtering (handles more Unicode chars) **Retry Logic**: - Rename cleanup-request.json to .processing instead of deleting immediately - Allows retry on failure (processing file persists if script crashes) - Remove .processing file only on successful completion - Prevents loops while enabling failure recovery These complete all 8 issues identified by Codex review.