mirror of
https://github.com/mulgadc/spinifex.git
synced 2026-10-15 17:11:30 +00:00
a8d0ba185e
The guest fail-loop ran 36 iterations at ~28 s each (two 10 s curl timeouts, a 3 s ping, a 5 s sleep), so NAT-E2E-EGRESS-FAIL first printed at ~16m50s while the console wait gave up at 8m. The marker was structurally unreachable and an egress failure reported only a byte count. Derive the wait budget from the loop instead of hard-coding both ends: 10 iterations at a 30 s per-iteration allowance plus 3m for boot and cloud-init, keeping the same 8m ceiling. The user-data script is now generated from those constants and the existing marker consts. Dump the last console read via OnFailure so a budget overrun also leaves the console in artifacts.