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 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328
|
#
# 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 RedHat-9-CD-1.
#
cdrom_insert RedHat-9-CD-1
#
# Power-on node.
#
power_on
#
# Wait for boot prompt.
#
wait_asc boot: 3min
type "linux text\0d"
#
# Wait for loader message.
#
wait_asc running /sbin/loader 2min
#
# Wait for media test screen.
#
wait_asc testing the CD 2min
type "\1d"
type "\0d"
#
# Wait for installer message.
#
wait_asc Running anaconda 2min
#
# Wait for Welcome screen.
#
wait_asc www.redhat.com 2min
type "\0d"
#
# Wait for Language selection screen.
#
wait_asc Language Selection 1min
type "\0d"
#
# Wait for Keyboard selection screen.
#
wait_asc Keyboard Selection 1min
type "\0d"
#
# Wait for Mouse selection screen.
#
wait_asc Mouse Selection 1min
type "\09"
type "\09"
type "\0d"
#
# Wait for "Installation Type" screen.
# Use "Personal Desktop".
#
wait_asc Installation Type 1min
type "\0d"
#
# Wait for Disk Partitioning Setup
# Use "Disk Druid".
#
wait_asc Disk Partitioning Setup 1min
type "\09"
type "\0d"
#
# Wait for "Warning".
# Use "Yes".
#
wait_asc Warning 1min
type "\0d"
#
# Wait for "Partitioning".
# Select "Free space" and use "New".
#
wait_asc Partitioning 1min
type "\1f"
type "\09"
type "\0d"
#
# Wait for "Add Partition".
# Use "Mount Point" "/",
# Use "File System type" "ext2",
# Use "Allowable Drives" "hda",
# Use "Size" "3800"
# ...
#
wait_asc Add Partition 1min
type "/"
type "\09"
type "\09"
type "\09"
type "\08"
type "3800"
type "\09"
type "\09"
type "\09"
type "\09"
type " "
type "\09"
type "\09"
type "\0d"
#
# Wait for "Warning".
# Use "Add anyway".
#
wait_asc Warning 1min
type "\09"
type "\0d"
#
# Wait for "Partitioning".
# Use "New".
#
wait_asc Partitioning 1min
type "\0d"
#
# Wait for "Add Partition".
# Use "File System type" "swap",
# Use "Allowable Drives" "hda",
# Use "Size" "200"
# ...
#
wait_asc Add Partition 1min
type "\09"
type "\1f"
type "\1f"
type "\1f"
type "\09"
type "\09"
type "\08"
type "200"
type "\09"
type "\09"
type "\09"
type " "
type "\09"
type " "
type "\09"
type "\09"
type "\0d"
#
# Wait for "Partitioning".
# Use "OK".
#
wait_asc Partitioning 1min
type "\09"
type "\09"
type "\09"
type "\09"
type "\0d"
#
# Wait for "Boot Loader Configuration".
# Use "OK".
#
wait_asc Boot Loader Configuration 1min
type "\09"
type "\09"
type "\09"
type "\0d"
#
# Wait for "kernel options"
# Use "OK" (no special options)
#
wait_asc pass special options 1min
type "\09"
type "\09"
type "\0d"
#
# Wait for "Boot Loader Password".
# Don't set a password.
#
wait_asc boot loader password 1min
type "\09"
type "\0d"
#
# Wait for "what partitions to boot?"
# Use "OK"/standard variant hda1
#
wait_asc be able to boot and what label 1min
type "\09"
type "\0d"
#
# Wait for "Boot Loader Configuration" "Where do you want..."
# Use "OK"
#
wait_asc Where do you want to install 1min
type "\09"
type "\0d"
#
# Wait for "Network Contiguration for eth0".
# Use "OK"
#
wait_asc Network Configuration for eth0 1min
type "\09"
type "\09"
type "\0d"
#
# Wait for "Firewall Configuration".
# Use "OK"
#
wait_asc Firewall Configuration 1min
type "\0d"
#
# Wait for "Language Support".
# Use "OK"
#
wait_asc Language Support 1min
type "\09"
type "\0d"
#
# Wait for "Time Zone Selection".
# Use "Hardware clock set to GMT".
# Use "MET".
# Use "OK".
#
wait_asc Time Zone Selection 1min
type " "
type "\09"
type "M"
type "\09"
type "\0d"
#
# Wait for "Root Password".
# Type "WeV0te4u!" twice.
# Use "OK".
#
wait_asc Root Password 1min
type "WeV0te4u!"
type "\09"
type "WeV0te4u!"
type "\09"
type "\0d"
#
# Wait for "Workstation Defaults".
# Use "OK".
#
wait_asc Workstation Defaults 3min
type "\09"
type "\0d"
#
# Wait for "Installation to begin".
# Use "OK".
#
wait_asc Installation to begin 1min
type "\0d"
#
# Intermediate steps during installation...
#
wait_asc Formatting 2min
wait_asc Copying File 2min
wait_asc Processing 2min
wait_asc Install Starting 2min
wait_asc Processing 2min
wait_asc Package Installation 2min
#
# Wait for "Change CDROM" ("disk 2").
# Change CDROM (use disk 2) and use "OK".
#
wait_asc disc 2 2hr
cdrom_remove
cdrom_insert RedHat-9-CD-2
type "\0d"
#
# Wait for "Change CDROM" ("disk 3").
# Change CDROM (use disk 3) and use "OK".
#
wait_asc disc 3 2hr
cdrom_remove
cdrom_insert RedHat-9-CD-3
type "\0d"
#
# Intermediate steps during installation...
#
# wait_asc ? 1min
wait_asc Bootloader 1min
#
# Wait for "Boot Diskette".
# Use "No".
#
wait_asc Boot Diskette 1min
type "\09"
type "\0d"
#
# Wait for "Video Card Configuration".
# Use "Skip X Configuration".
#
wait_asc Video Card Configuration 1min
type "\09"
type "\09"
type "\09"
type "\0d"
#
# Wait for "Complete".
# Use "Ok".
#
wait_asc Complete 1min
type "\0d"
#
# Node will reboot...
#
# Just wait...
#
# Wait for "login:".
# Enter "root".
#
wait_asc login: 3min
type "root\0d"
#
# Wait for "Password:".
# Enter "root".
#
wait_asc Password: 1min
type "WeV0te4u!\0d"
#
# Wait for "root@localhost".
# Enter "halt".
#
wait_asc root@localhost 1min
type "halt\0d"
#
# Wait for "System halted".
# Enter "halt".
#
wait_asc System halted 1min
|