summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2012-12-02 15:35:12 +0100
committerHolger Levsen <holger@layer-acht.org>2012-12-02 15:35:12 +0100
commit1472255921d061b58049bc268fa6f32e526d557f (patch)
tree6d3ea0334fc1674461ca1ecc933452a3f0bb4c9c /bin
parent67491d9ec934a1067355fe4fbeb68a3e6d197258 (diff)
downloadjenkins.debian.net-1472255921d061b58049bc268fa6f32e526d557f.tar.xz
press ctrl-key to avoid screensaver kicking in
Diffstat (limited to 'bin')
-rwxr-xr-xbin/cd_tester.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/cd_tester.sh b/bin/cd_tester.sh
index 54ccd2d2..9f148674 100755
--- a/bin/cd_tester.sh
+++ b/bin/cd_tester.sh
@@ -63,7 +63,7 @@ bootstrap() {
case $NAME in
debian-edu-wheezy)
echo "fire up qemu now..."
- sudo qemu-system-x86_64 -cdrom $IMAGE -hda $NAME.qcow -boot d -m 1024 -display vnc=localhost:$DISPLAY --kernel $IMAGE_MNT/install.amd/vmlinuz --append "auto=true priority=critical url=http://10.0.2.2/userContent/$NAME-preseed.cfg video=vesa:ywrap,mtrr vga=788 acpi=off initrd=/install.amd/gtk/initrd.gz -- quiet" --initrd $IMAGE_MNT/install.amd/gtk/initrd.gz &
+ sudo qemu-system-x86_64 -cdrom $IMAGE -hda $NAME.qcow -boot d -m 1024 -display vnc=localhost:$DISPLAY --kernel $IMAGE_MNT/install.amd/vmlinuz --append "auto=true priority=critical url=http://10.0.2.2/userContent/$NAME-preseed.cfg video=vesa:ywrap,mtrr vga=788 initrd=/install.amd/gtk/initrd.gz -- quiet" --initrd $IMAGE_MNT/install.amd/gtk/initrd.gz &
;;
*) echo "unsupported distro."
exit 1
@@ -95,6 +95,10 @@ monitor_installation() {
if [ $(($NR % 15)) -eq 0 ] ; then
date
fi
+ # press ctrl-key to avoid screensaver kicking in
+ if [ $(($NR % 150)) -eq 0 ] ; then
+ vncdo -s localhost:$DISPLAY key ctrl
+ fi
done
set -x
if [ $NR -eq 9000 ] ; then