- Add comprehensive database migrations (001-024) for schema evolution - Enhance API schema with expanded type definitions and resolvers - Add new middleware: audit logging, rate limiting, MFA enforcement, security, tenant auth - Implement new services: AI optimization, billing, blockchain, compliance, marketplace - Add adapter layer for cloud integrations (Cloudflare, Kubernetes, Proxmox, storage) - Update Crossplane provider with enhanced VM management capabilities - Add comprehensive test suite for API endpoints and services - Update frontend components with improved GraphQL subscriptions and real-time updates - Enhance security configurations and headers (CSP, CORS, etc.) - Update documentation and configuration files - Add new CI/CD workflows and validation scripts - Implement design system improvements and UI enhancements
29 lines
1.0 KiB
Bash
29 lines
1.0 KiB
Bash
#!/bin/bash
|
||
# Commands to run on Proxmox node
|
||
# Copy everything after the "---" line and paste into SSH session
|
||
|
||
cat << 'PROXMOX_COMMANDS'
|
||
---
|
||
VMID=100
|
||
echo "=== Automated Cleanup for VM $VMID ==="
|
||
pkill -9 -f "task.*$VMID" 2>/dev/null && echo "✅ Killed task processes" || echo "ℹ️ No task processes"
|
||
pkill -9 -f "qm.*$VMID" 2>/dev/null && echo "✅ Killed qm processes" || echo "ℹ️ No qm processes"
|
||
sleep 2
|
||
rm -f /var/lock/qemu-server/lock-$VMID.conf && echo "✅ Removed lock file" || echo "⚠️ Lock removal failed"
|
||
echo ""
|
||
echo "=== Verification ==="
|
||
ps aux | grep -E "task.*$VMID|qm.*$VMID" | grep -v grep || echo "✅ No processes remaining"
|
||
ls -la /var/lock/qemu-server/lock-$VMID.conf 2>&1 | grep -q "No such file" && echo "✅ Lock file removed" || echo "⚠️ Lock still exists"
|
||
echo ""
|
||
echo "=== Unlocking ==="
|
||
qm unlock $VMID
|
||
echo ""
|
||
echo "=== Final Status ==="
|
||
qm status $VMID
|
||
---
|
||
PROXMOX_COMMANDS
|
||
|
||
echo ""
|
||
echo "Copy everything between the '---' lines above and paste into your Proxmox SSH session"
|
||
|