#
# $iD: Generate,v 1.9 2005/06/30 08:49:32 vrsieh Exp $
#
#
# Enter Solaris-10 CD
#
cdrom_insert	Solaris-10-CD-1
#
# Power-on node.
#
power_on
#
# Wait for "To perform a full scan to identify all system hardware".
# Use <F2_continue>.
#
wait_asc	Solaris Device Configuration Assistant	3min
wait_asc	To perform a full scan to identify	1min
delay							5sec
type		"\11"
#
# Wait for "Bus Enumeration"
# Press <enter>
#
wait_asc	Bus Enumeration				3min
delay							5sec
sshot
type		"\0d"
#
# Wait for "Identified Devices".
# Use <F2_continue>
#
wait_asc	Identified Devices			1min
delay							5sec
type		"\11"
#
# Wait for "Boot Solaris".
# Mark "CD" and type <F2>.
# Must use <cursor-down> on keypad!
#
wait_asc	Boot Solaris				1min
delay							5sec
type		"\82"
type		" "
type		"\11"
#
# Intermediate steps.
#
wait_asc	Select (b)oot or (i)nterpreter		1min
wait_asc	Use is subject to license terms		1min
wait_asc	Configuring devices.			10min
wait_asc	Using RPC Bootparams for network	10min
wait_asc	Searching for configuration file(s)	5min
wait_asc	Search complete				1min
#
# Wait for "The Solaris Installer can be run in...".
# Use "1) English".
#
wait_asc	The Solaris Installer can be run in	1min
delay							5sec
type		"1\0d"
#
# Wait for "The Solaris Installation Program".
# Use only <F2>.
#
wait_asc	The Solaris Installation Program	3min
delay							5sec
type		"\11"
#
# Wait for "kdmconfig - Introduction".
# Use <F4_Bypass>.
#
wait_asc	kdmconfig - Introduction		3min
delay							5sec
type		"\13"
#
# Wait for "Select one of the following to continue:" ("Please make a...").
# Use "1) Use the default layout".
#
wait_asc	Select one of the following to		1min
wait_asc	Please make a selection:		1min
delay							5sec
type		"1\0d"
#
# Wait for "WARNING: ALL INFORMATION ON THE DISK WILL BE ERASED".
# Use "y".
#
wait_asc	WARNING: ALL INFORMATION ON THE DISK	1min
delay							5sec
type		"y\0d"
#
# Wait for "Enter a swap slice size between 446MB..."
# Use default.
#
wait_asc	Enter a swap slice size between 446MB	1min
delay							5sec
type		"\0d"
#
# Wait for "Can the swap slice start at the beginning..."
# Use "y".
#
wait_asc	Can the swap slice start at the		1min
delay							5sec
type		"y\0d"
#
# Wait for "WARNING: ALL INFORMATION ON THE DISK WILL BE ERASED".
# Use "y".
#
wait_asc	WARNING: ALL INFORMATION ON THE DISK	1min
wait_asc	Is this OK				1min
delay							5sec
type		"y\0d"
#
# Intermediate steps.
#
wait_asc	Disk slice c0d0s1 will be used to	10min
wait_asc	Copying mini-root to local disk		10min
wait_asc	Copying platform specific files		10min
wait_asc	Preparing to reboot and continue	10min
#
# Wait for "Need to reboot to continue the installation."
# Use <enter>.
#
wait_asc	Need to reboot to continue the		20min
delay							5sec
type		"\0d"
#
# Wait for "FAUmachine BIOS".
# Remove CDROM.
#
wait_ppm	001-FAUmachine-BIOS.png			1min
cdrom_remove
#
# Intermediate steps.
#
wait_asc	Use is subject to license terms		1min
#
# FIXME
#
#
# Wait for "The Solaris Installation Program".
# Use only <F2>.
#
wait_asc	The Solaris Installation Program	30min
delay							5sec
type		"\11"
#
# Wait for "kdmconfig - Introduction".
# Use only <F2>.
#
wait_asc	kdmconfig - Introduction		1min
delay							5sec
type		"\11"
#
# Wait for "kdmconfig - View and Edit Window System Configuration".
# Use only <F2>.
#
wait_asc	kdmconfig - View and Edit Window System Configuration	1min
delay							5sec
type		"\11"
#
# Wait for "Video Device Selection".
# Mark "Cirrus Logic GD5446 (1MB)" (59 * cursor down)
# Must use <cursor-down> on keypad!
# Use <F2>.
#
wait_asc	Video Device Selection			1min
delay							5sec
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		"\82"
type		" "
type		"\11"
#
# Wait for "Monitor Type Selection".
# Use preselected "Plug and Play Mfreq 18 Inch AMT5530..."
# Use <F2>.
#
wait_asc	Monitor Type Selection			1min
delay							5sec
type		"\11"
#
# Wait for "Resolution/Colors Selection".
# Use preselected "1024x768 - 256 colors @ 85Hz"
# Use <F2>.
#
wait_asc	Resolution/Colors Selection		1min
delay							5sec
type		"\11"
#
# Wait for "kdmconfig - View and Edit Window System Configuration".
# Use preselected "No changes needed - Test/Save and Exit"
# Use <F2>.
#
wait_asc	kdmconfig - View and Edit Window System Configuration	1min
delay							5sec
type		"\11"
#
# Wait for "kdmconfig Window System Configuration Test".
# Use <F2>.
#
wait_asc	kdmconfig Window System Configuration Test	1min
delay							5sec
type		"\11"
#
#
#
wait_asc	TIMEOUT					50hr
