diff options
author | Holger Levsen <holger@layer-acht.org> | 2013-01-05 16:00:11 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2013-01-05 16:00:11 +0100 |
commit | 6eb39e5690d36598af86766117b956bf039aa409 (patch) | |
tree | cd7d8249cc3342ec9105cfdafc747a78fd5580ef | |
parent | 35f49159ce15dbfc4eccb9e2fd2d1d5f50c2b194 (diff) | |
download | jenkins.debian.net-6eb39e5690d36598af86766117b956bf039aa409.tar.xz |
more debug
-rwxr-xr-x | bin/g-i-installation.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh index b9d8b6e3..e5f05d81 100755 --- a/bin/g-i-installation.sh +++ b/bin/g-i-installation.sh @@ -173,10 +173,12 @@ bootstrap_system() { show_preseed $(hostname -f)/$PRESEED_PATH/${NAME}_preseed.cfg echo echo "Starting QEMU now:" + set -x (sudo qemu-system-x86_64 \ $QEMU_OPTS \ $QEMU_KERNEL \ --append "$APPEND" && touch $RESULTS/qemu_quit ) & + set +x } boot_system() { @@ -187,8 +189,10 @@ boot_system() { QEMU_OPTS="$QEMU_OPTS -drive file=$NAME.raw,index=0,media=disk,cache=writeback -m $RAMSIZE" echo echo "Starting QEMU_ now:" + set -x (sudo qemu-system-x86_64 \ $QEMU_OPTS && touch $RESULTS/qemu_quit ) & + set +x } @@ -659,7 +663,8 @@ case $NAME in if [ ! -z "$IMAGE" ] ; then sudo umount -l $IMAGE_MNT || true fi - sleep 5 + echo "Sleeping 15 seconds." + sleep 15 boot_system let START_TRIGGER=NR+500 monitor_system normal $START_TRIGGER |