Commit 0a815a69 authored by Kroese's avatar Kroese Committed by GitHub
Browse files

Check PID file

parent 924942fe
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
#!/usr/bin/env bash
set -u

[ ! -f "/run/qemu.pid"] && echo "QEMU not running yet.." && exit 0

# Retrieve IP from guest for Docker healthcheck
RESPONSE=$(curl -s -m 6 -S http://127.0.0.1:2210/read?command=10 2>&1)