Files
Sankofa/scripts/stop-all-vms.sh
defiQUG 9daf1fd378 Apply Composer changes: comprehensive API updates, migrations, middleware, and infrastructure improvements
- 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
2025-12-12 18:01:35 -08:00

19 lines
598 B
Bash
Executable File

#!/bin/bash
# Stop all running VMs
PROXMOX_PASS="L@kers2010"
SITE1="192.168.11.10"
SITE2="192.168.11.11"
echo "Stopping all VMs on Site 1..."
sshpass -p "${PROXMOX_PASS}" ssh -o StrictHostKeyChecking=no root@${SITE1} "for vmid in \$(qm list | tail -n +2 | awk '{print \$1}'); do qm stop \$vmid 2>/dev/null || true; done"
echo "Stopping all VMs on Site 2..."
sshpass -p "${PROXMOX_PASS}" ssh -o StrictHostKeyChecking=no root@${SITE2} "for vmid in \$(qm list | tail -n +2 | awk '{print \$1}'); do qm stop \$vmid 2>/dev/null || true; done"
echo "Waiting for VMs to stop..."
sleep 10
echo "Done"