summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2013-01-05 16:00:11 +0100
committerHolger Levsen <holger@layer-acht.org>2013-01-05 16:00:11 +0100
commit6eb39e5690d36598af86766117b956bf039aa409 (patch)
treecd7d8249cc3342ec9105cfdafc747a78fd5580ef /bin
parent35f49159ce15dbfc4eccb9e2fd2d1d5f50c2b194 (diff)
downloadjenkins.debian.net-6eb39e5690d36598af86766117b956bf039aa409.tar.xz
more debug
Diffstat (limited to 'bin')
-rwxr-xr-xbin/g-i-installation.sh7
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