#
# $Id: 01generate,v 1.1 2009-02-18 17:31:14 potyra Exp $
#
#
# Power-on
#
power_switch_on
#
# Wait for "Choose language".
# Use preselected "English".
# Press return.
#
wait_asc	Choose language					10min
type		"\0d"
#
# Wait for "Choose country, territory or area".
# Use preselected "United States".
# Press return.
#
wait_asc	Choose a country, territory or area		3min
type		"\0d"
#
# Some intermediate steps.
#
wait_asc	Detecting hardware to find CD-ROM drives	1min
wait_asc	Scanning CD-ROM					5min
wait_asc	Loading additional components			5min
wait_asc	Detecting network hardware			15min
wait_asc	Configuring the network with DHCP		5min
#
# Wait for "Configure the network"/"Network autoconfiguration failed".
# Use preselected "Continue".
# Press return.
#
wait_asc	Configure the network				5min
wait_asc	Network autoconfiguration failed		1min
type		"\0d"
#
# Wait for "Configure the network".
# Use "Do not configure the network at this time".
# Press return.
#
# wait_asc	Configure the network				1min
wait_asc	Do not configure the network at this time	1min
type		"\1f"
type		"\1f"
type		"\0d"
#
# Wait for "Configure the network" ("Please enter the hostname...").
# Clear "debian".
# Type "debian31".
# Press return.
#
# wait_asc	Configure the network				1min
wait_asc	Please enter the hostname			1min
type		"\08\08\08\08\08\08"
type		"debian40\0d"
#
# Some intermediate steps.
#
wait_asc	Detecting disks and all other hardware		1min
wait_asc	Starting up the partitioner			2min
#
# Wait for "Partition disks".
# Use preselected "Guided - use entire disk".
# Press return.
#
wait_asc	Partition disks					1min
wait_asc	Guided - use entire disk			1min
type		"\0d"
#
# Wait for "Partition disks"/"Select disk to partition".
# Select "IDE1 master (hda) - ...".
# Press return.
#
# wait_asc	Partition disks					1min
wait_asc	IDE1 master (hda)				1min
type		"\1f"
type		"\0d"
#
# Wait for "Partition disks"/"Selected for partitioning".
# Use preselected "All files in one partition...".
# Press return.
#
# wait_asc	Partition disks					1min
wait_asc	All files in one partition			1min
type		"\0d"
#
# Some intermediate steps.
#
wait_asc	Guided partitioning				1min
#
# Wait for "Partition disks"/"This is an overview...".
# Use preselected "Finish partitioning and write...".
# Press return.
#
# wait_asc	Partition disks					1min
wait_asc	Finish partitioning and write changes to disk	1min
type		"\0d"
#
# Wait for "Partition disks"/"Write the changes to disks?".
# Use <Yes>.
# Press return.
#
# wait_asc	Partition disks					1min
wait_asc	Write the changes to disks?			1min
type		"\1c"
type		"\0d"
#
# Some intermediate steps.
#
wait_asc	Creating ext3 file system			1min
#
# Wait for "Configure time zone".
# Use preselected "Eastern".
# Press return.
#
wait_asc	Configure time zone				3min
wait_asc	Eastern						1min
type		"\0d"
#
# Wait for "Set up users and passwords"/"Root password".
# Type "UMLinux".
#
wait_asc	Set up users and passwords			5min
wait_asc	Root password					1min
type		"UMLinux\0d"
#
# Wait for "Set up users and passwords"/"Please enter the same root password...".
# Type "UMLinux".
#
# wait_asc	Set up users and passwords			5min
wait_asc	Please enter the same root password		1min
type		"UMLinux\0d"
#
# Wait for "Set up users and passwords"/"A user account will be created...".
# Type "demo".
#
# wait_asc	Set up users and passwords			5min
wait_asc	A user account will be created			1min
type		"demo\0d"
#
# Wait for "Set up users and passwords"/"Select a username for the new...".
# Use preselected "demo".
#
# wait_asc	Set up users and passwords			5min
wait_asc	Select a username for the new			1min
type		"\0d"
#
# Wait for "Set up users and passwords"/"A good password will contain...".
# Type "UMLinux".
#
# wait_asc	Set up users and passwords			5min
wait_asc	A good password will contain			1min
type		"UMLinux\0d"
#
# Wait for "Set up users and passwords"/"Please enter the same user...".
# Type "UMLinux".
#
# wait_asc	Set up users and passwords			5min
wait_asc	Please enter the same user			1min
type		"UMLinux\0d"
#
# Some intermediate steps.
#
wait_asc	Installing the base system			5min
#
# Wait for "Configure the package manager"/"Use a network mirror".
# Use <No>.
# Type <Return>.
# 
wait_asc	Configure the package manager			2hr
wait_asc	Use a network mirror				1min
type		"\1d"
type		"\0d"
#
# Wait for "Configure the package manager"/"Cannot access security updates".
# Use preselected <Continue>.
# Type <Return>.
#
# wait_asc	Configure the package manager			5min
wait_asc	Cannot access security updates			1min
type		"\0d"
#
# Some intermediate steps.
#
wait_asc	Select and install software			5min
#
# Wait for "Configuring popularity-contest".
# Use preselected <No>.
# Type <Return>.
#
wait_asc	Configuring popularity-contest			5min
type		"\0d"
#
# Some intermediate steps.
#
wait_asc	Select and install software			5min
#
# Wait for "Software selection".
# Use preselected <[*] Standard system>.
# Use <Continue>.
# Type <Return>.
#
wait_asc	Software selection				5min
type		"\09"
type		"\0d"
#
# Some intermediate steps.
#
wait_asc	Select and install software			5min
wait_asc	Retrieving file					5min
#
# Wait for "Install the GRUB boot loader on a hard disk"
# Use preselected "Yes"
#
wait_asc	Install the GRUB boot loader on a hard disk	3hr
type		"\0d"
#
# Some intermediate steps.
#
wait_asc	Installing GRUB boot loader			5min
#
# Wait for "Finishing the installation"/"Installation complete".
# Remove CDROM.
# Use preselected "Continue".
# Type <Return>.
#
wait_asc	Finishing the installation			15min
wait_asc	Installation complete				3min
cdrom_remove
type		"\0d"
#
# Wait for "debian40 login:"
# Enter "root".
#
wait_asc	debian40 login:					15min
type		"root\0d"
#
# Wait for "Password:"
# Enter "UMLinux".
#
wait_asc	Password:					1min
type		"UMLinux\0d"
#
# Wait for "~#"
# Enter "halt".
#
wait_asc	~#						1min
type		"halt\0d"
#
# Power-off
#
power_switch_off
