diff options
author | Holger Levsen <holger@layer-acht.org> | 2012-12-02 15:35:12 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2012-12-02 15:35:12 +0100 |
commit | 1472255921d061b58049bc268fa6f32e526d557f (patch) | |
tree | 6d3ea0334fc1674461ca1ecc933452a3f0bb4c9c /bin | |
parent | 67491d9ec934a1067355fe4fbeb68a3e6d197258 (diff) | |
download | jenkins.debian.net-1472255921d061b58049bc268fa6f32e526d557f.tar.xz |
press ctrl-key to avoid screensaver kicking in
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/cd_tester.sh | 6 |
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 |