progress snapshot
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
# Boots QEMU VM from ISO to test installation
|
||||
# All work done in Docker container
|
||||
|
||||
set -e
|
||||
set -euo pipefail
|
||||
|
||||
BUILD_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
ISO_PATH="$BUILD_DIR/output/football-installer.iso"
|
||||
@@ -107,7 +107,7 @@ screen -dmS football-iso-test \
|
||||
# Save QEMU PID for later use
|
||||
pgrep -f "qemu-system-x86_64.*$DISK_PATH" | head -1 > "$VM_PID_FILE"
|
||||
|
||||
echo "✅ VM started (PID: $(cat $VM_PID_FILE 2>/dev/null || echo 'unknown'))"
|
||||
echo "✅ VM started (PID: $(cat "$VM_PID_FILE" 2>/dev/null || echo 'unknown'))"
|
||||
echo ""
|
||||
|
||||
# ============================================================================
|
||||
@@ -117,7 +117,7 @@ echo ""
|
||||
echo "[4/4] Monitoring boot (waiting 120 seconds)..."
|
||||
echo ""
|
||||
|
||||
for i in {1..120}; do
|
||||
for _ in {1..120}; do
|
||||
if [ -f "$CONSOLE_LOG" ]; then
|
||||
# Check for installation prompts
|
||||
if grep -q "Choose the country" "$CONSOLE_LOG" 2>/dev/null; then
|
||||
|
||||
Reference in New Issue
Block a user