diff options
author | Holger Levsen <holger@layer-acht.org> | 2013-01-07 16:57:29 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2013-01-07 16:57:29 +0100 |
commit | 1f5b607e6353493cbe1dd43636d86c66c60e04db (patch) | |
tree | fcbaa993bd7e8a2de537e061c637d09707990455 /bin | |
parent | cb0c1e7eb805e273196505c316753356ed0551e9 (diff) | |
download | jenkins.debian.net-1f5b607e6353493cbe1dd43636d86c66c60e04db.tar.xz |
g-i: check image after install
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/g-i-installation.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh index 2d473126..ec5c7e8c 100755 --- a/bin/g-i-installation.sh +++ b/bin/g-i-installation.sh @@ -187,6 +187,9 @@ boot_system() { # qemu related variables (incl kernel+initrd) - display first, as we grep for this in the process list QEMU_OPTS="-display vnc=$DISPLAY -no-shutdown" QEMU_OPTS="$QEMU_OPTS -drive file=$NAME.raw,index=0,media=disk,cache=writeback -m $RAMSIZE" + echo "Checking $NAME.raw:" + file $NAME.raw + # FIXME: exit here if image is not bootable echo echo "Starting QEMU_ now:" set -x |