From 1472255921d061b58049bc268fa6f32e526d557f Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 2 Dec 2012 15:35:12 +0100 Subject: press ctrl-key to avoid screensaver kicking in --- bin/cd_tester.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'bin') 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 -- cgit v1.2.3-70-g09d2