#!/usr/bin/env bash # observe-deploy - Single-VM IncusOS deploy with rapid console screenshots # # Captures the complete IncusOS lifecycle on screen — from ISO boot through # installation, reboot, first-boot sequence, and port 8443 readiness. Takes # screenshots every 2 seconds via Proxmox SSH root access (screendump). # # Purpose: diagnose boot failures by building a frame-by-frame timeline of # exactly what IncusOS shows at every stage. NOT a batch test — one VM at # a time, maximum visibility. # # Usage: # ./observe-deploy # Standard deploy with screenshots # ./observe-deploy --no-update-yaml # Omit update.yaml from seed # ./observe-deploy --label run-01 # Custom run label # ./observe-deploy --vmid 855 # Use a specific VMID # ./observe-deploy --dry-run # Preview without deploying # # Output: timestamped directory with PNG frames + deploy.log # observe-runs/YYYY-MM-DD_HH-MM-SS_