From 6eb39e5690d36598af86766117b956bf039aa409 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 5 Jan 2013 16:00:11 +0100 Subject: more debug --- bin/g-i-installation.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'bin') 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 -- cgit v1.2.3-70-g09d2