1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92
|
#
# Copyright (C) 2017 FAUmachine Team <info@faumachine.org>.
# This program is free software. You can redistribute it and/or modify it
# under the terms of the GNU General Public License, either version 2 of
# the License, or (at your option) any later version. See COPYING.
#
#
# 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 5min
#
# 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.google.com/"
type "\0d"
#
# Wait for prompt.
# Type "head index.html"
# Press return.
#
wait_asc ~ # 1min
type "grep html index.html && echo OK"
type "\0d"
#
# Wait for "<head>" (head of HTML document).
# Power-off.
#
wait_asc OK 1min
power_off
delay 1sec
|