diff options
author | Gabriele Giacone <1o5g4r8o@gmail.com> | 2014-08-17 04:18:23 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2014-08-18 12:36:10 -0400 |
commit | 8be3147fd9d95f78b1c8d8c516df728cb26024a0 (patch) | |
tree | 1e3a936cace1400e6f9006231b09182addbc2143 | |
parent | 55f65c43e5933f282accd975c3e61b4bf9af0ad2 (diff) | |
download | jenkins.debian.net-8be3147fd9d95f78b1c8d8c516df728cb26024a0.tar.xz |
Add more patterns to detect VM poweroff.
-rwxr-xr-x | bin/g-i-installation.sh | 4 |
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 |