mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 13:30:02 +08:00
Check PID file
Check PID file
This commit is contained in:
commit
da0d32ba2d
@ -1,6 +1,8 @@
|
||||
#!/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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user