95f76d7ffb2ee75472338b8f44176f4f7ec9fd1b
The ups-shutdown-cluster.sh script was missing LXC container shutdown functionality, only shutting down VMs. This could leave containers running during UPS power failure, causing ungraceful shutdown. Changes: - Added Step 2: LXC container shutdown on all cluster nodes - Uses 'pct list' to find running containers - Shuts down each container with 60s timeout - Parallel shutdown with '&' for speed - Both local (pvemini) and remote nodes (pve1, pveelite) - Updated step numbers (now 6 steps total vs 5 before) - Fixed log_message() to use dynamic timestamp - Fixed node name comment (pve2 → pveelite) Shutdown order: 1. VMs on all nodes (timeout 60s) 2. LXC containers on all nodes (timeout 60s) [NEW] 3. Wait 90 seconds for graceful shutdown 4. Secondary nodes shutdown (pve1, pveelite) 5. Wait 30 seconds 6. Primary node shutdown (pvemini) This matches the behavior in ups-maintenance-shutdown.sh which already had LXC support. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Description
No description provided
Languages
Shell
54.2%
PowerShell
18.5%
PLSQL
12%
Batchfile
11.1%
Python
4.2%