summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabriele Giacone <1o5g4r8o@gmail.com>2014-08-17 04:18:23 +0200
committerHolger Levsen <holger@layer-acht.org>2014-08-18 12:36:10 -0400
commit8be3147fd9d95f78b1c8d8c516df728cb26024a0 (patch)
tree1e3a936cace1400e6f9006231b09182addbc2143
parent55f65c43e5933f282accd975c3e61b4bf9af0ad2 (diff)
downloadjenkins.debian.net-8be3147fd9d95f78b1c8d8c516df728cb26024a0.tar.xz
Add more patterns to detect VM poweroff.
-rwxr-xr-xbin/g-i-installation.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh
index cb46e1bc..83fca526 100755
--- a/bin/g-i-installation.sh
+++ b/bin/g-i-installation.sh
@@ -888,7 +888,9 @@ monitor_system() {
SOFTWARE_PROBLEM=$(grep "The failing step is: Select and install software" $GOCR || true)
BUILD_LTSP_PROBLEM=$(grep "The failing step is: Build LTSP chroot" $GOCR || true)
rm $GOCR $GOCR.ppm
- if [[ "$LAST_LINE" =~ .*Power\ down.* ]] ; then
+ if [[ "$LAST_LINE" =~ .*Power\ down.* ]] ||
+ [[ "$LAST_LINE" =~ .*System\ halted.* ]] ||
+ [[ "$LAST_LINE" =~ .*Cannot\ .inalize\ remaining\ .ile\ systems.* ]]; then
echo "QEMU was powered down."
break
elif [ ! -z "$STACK_LINE" ] ; then