#
# $Id: generate,v 1.1 2009-02-19 11:50:45 potyra Exp $
#
#
# Enter Debian-3.1r0a-CD-1.
#
cdrom_insert	Debian-3.1r0a-CD-1
#
# Power-on node.
#
power_on
#
# Wait for boot prompt.
#
wait_asc	boot:						1min
type		"\0d"
#
# Wait for "Choose language".
# Use preselected "English".
# Press return.
#
wait_asc	Choose language					3min
type		"\0d"
#
# Wait for "Choose country or region".
# Use preselected "United States".
# Press return.
#
wait_asc	Choose country or region			1min
type		"\0d"
#
# Wait for "Select a keyboard layout".
# Use preselected "Amarican English".
# Press return.
#
wait_asc	Select a keyboard layout			1min
type		"\0d"
#
# Some intermediate steps.
#
wait_asc	Detecting hardware to find CD-ROM drives	1min
wait_asc	Scanning CD-ROM					6min
wait_asc	Loading components of the Debian installer	1min
wait_asc	Detecting network hardware			6min
#
# Wait for intermediate steps.
#
wait_asc	Configuring the network with DHCP		1min
#
# Wait for "Please enter the hostname for this system."
#
wait_asc	Please enter the hostname for this system.	1min
#
# Switch to second console.
# Type <Alt><F2>.
#
press_alt
type		"\11"
release_alt
#
# Wait for "Please press Enter to activate this console.".
# Press return.
#
wait_asc	Please press Enter to activate this console.	1min
type		"\0d"
#
# Wait for prompt.
# Type "wget http://www.uni-erlangen.de/"
# Press return.
#
wait_asc	~ #  						1min
type		"wget http://www.uni-erlangen.de/"
type		"\0d"
#
# Wait for prompt.
# Type "head index.html"
# Press return.
#
wait_asc	~ #  						1min
type		"head index.html"
type		"\0d"
#
# Wait for "<head>" (head of HTML document).
# Power-off.
#
wait_asc	<head>						1min
power_off
delay								1sec
