forked from stove/risotto
diagnose: better debug
This commit is contained in:
parent
120af2ff01
commit
88fc83014b
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ for machine in $MACHINES; do
|
||||||
if ! echo "$STARTED" | grep -q " $machine "; then
|
if ! echo "$STARTED" | grep -q " $machine "; then
|
||||||
echo
|
echo
|
||||||
echo "========= $machine"
|
echo "========= $machine"
|
||||||
machinectl -q shell $machine /usr/bin/systemctl is-system-running 2>/dev/null || echo "not started"
|
machinectl -q shell $machine /usr/bin/systemctl is-system-running 2>/dev/null || systemctl status systemd-nspawn@$machine.service || true
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
echo $DEGRADED
|
echo $DEGRADED
|
||||||
|
|
Loading…
Reference in a new issue